cvs commit: src/sys/amd64/amd64 busdma_machdep.c src/sys/i386/i386
busdma_machdep.c
Scott Long
scottl at FreeBSD.org
Wed May 3 04:14:18 UTC 2006
scottl 2006-05-03 04:14:17 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 busdma_machdep.c
sys/i386/i386 busdma_machdep.c
Log:
Allow bus_dmamap_load() to pass ENOMEM back to the caller. This puts it into
conformance with the mbuf and uio load routines. ENOMEM can only happen
with BUS_DMA_NOWAIT is passed in, thus the deferals are disabled. I don't
like doing this, but fixing this fixes assumptions in other important drivers,
which is a net benefit for now.
Revision Changes Path
1.74 +10 -4 src/sys/amd64/amd64/busdma_machdep.c
1.77 +10 -4 src/sys/i386/i386/busdma_machdep.c
More information about the cvs-src
mailing list