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

Scott Long scottl at FreeBSD.org
Sat Jul 3 11:18:37 PDT 2004


scottl      2004-07-03 18:18:36 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        busdma_machdep.c 
  Log:
  Commit the first of half of changes that allow busdma to transparently
  honor the alignment and boundary constraints in the dma tag when loading
  buffers.  Previously, these constraints were only honored when allocating
  memory via bus_dmamem_alloc().  Now, bus_dmamap_load() will automatically
  use bounce buffers when needed.
  
  Also add a set of sysctls to monitor the global busdma stats.  These are:
  
  hw.busdma.free_bpages
  hw.busdma.reserved_bpages
  hw.busdma.active_bpages
  hw.busdma.total_bpages
  hw.busdma.total_bounced
  hw.busdma.total_deferred
  
  Revision  Changes    Path
  1.57      +47 -11    src/sys/i386/i386/busdma_machdep.c


More information about the cvs-all mailing list