DragonFly commits List (threaded) for 2007-07
DragonFly BSD
DragonFly commits List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Jul 2007 00:29:30 -0700 (PDT)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]