cvs commit: src/sys/pci if_dc.c

Scott Long scottl at FreeBSD.org
Tue Mar 8 23:25:46 GMT 2005


scottl      2005-03-08 23:25:46 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_dc.c 
  Log:
  The DC driver asks for an alignment of PAGE_SIZE for data buffers, but also
  asks that each buffer be (2048 * 256) bytes long.  I suspect that alignment
  isn't a real requirement since busdma only recently started honoring it.  The
  size is also bogus.  Fix both of these and stop busdma from trying to
  exhaust the system memory pool with bounce pages.
  
  Submitted by: Kevin Oberman
  MFC After: 7 days
  
  Revision  Changes    Path
  1.156     +3 -3      src/sys/pci/if_dc.c


More information about the cvs-src mailing list