cvs commit: src/sys/platform/pc32/i386 busdma_machdep.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Jul 14 00:30:34 PDT 2007
sephe 2007/07/14 00:29:30 PDT
DragonFly src repository
Modified files:
sys/platform/pc32/i386 busdma_machdep.c
Log:
- When creating dma map, allocate at least one bounce page even if the
max size of the dma tag is less than one page.
- alloc_bounce_pages() returns number of bounce pages that have been
allocated, not error value.
- Increase MAX_BPAGES to 1024 to cooperate with modern devices.
Tested-by: Jörg Anslik <joerg at anslik.de>
Approved-by: dillon@
Revision Changes Path
1.21 +6 -3 src/sys/platform/pc32/i386/busdma_machdep.c
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/busdma_machdep.c.diff?r1=1.20&r2=1.21&f=u
More information about the Commits
mailing list