cvs commit: src/sys/platform/pc32/i386 busdma_machdep.c

Sepherosa Ziehau sephe at
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 
  - 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>
  Approved-by: dillon@
  Revision  Changes    Path
  1.21      +6 -3      src/sys/platform/pc32/i386/busdma_machdep.c

More information about the Commits mailing list