Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 10:26:55 -0700 (PDT)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/alpha/alpha busdma_machdep.c src/sys/i386/i386 busdma_machdep.c
Message-ID:  <200108151726.f7FHQtE57531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2001/08/15 10:26:55 PDT

  Modified files:
    sys/alpha/alpha      busdma_machdep.c 
    sys/i386/i386        busdma_machdep.c 
  Log:
  Teach bus_dmamem_free() about contigfree(). This is a bit of a hack,
  but it's better than the buggy behavior we have now. If we contigmalloc()
  buffers in bus_dmamem_alloc(), then we must configfree() them in
  bus_dmamem_free(). Trying to free() them is wrong, and will cause
  a panic (at least, it does on the alpha.)
  
  I tripped over this when trying to kldunload my busdma-ified if_rl
  driver.
  
  Revision  Changes    Path
  1.20      +5 -2      src/sys/alpha/alpha/busdma_machdep.c
  1.24      +4 -1      src/sys/i386/i386/busdma_machdep.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108151726.f7FHQtE57531>