cvs commit: src/sys/pci if_xl.c if_xlreg.h

Marius Strobl marius at FreeBSD.org
Mon Mar 24 10:49:07 PDT 2008


marius      2008-03-24 17:49:06 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_xl.c if_xlreg.h 
  Log:
  - Take advantage of bus_dmamap_load_mbuf_sg(9).
  - Take advantage of m_collapse(9).
  - Sync with other NIC drivers and prepend a TX mbuf if the first attempt
    to load it fails with an error other than EFBIG and stop trying instead
    of freeing it and keeping on trying to enqueue more mbufs. Also ensure
    the driver queue isn't empty before trying to enqueue mbufs in order to
    reduce locking operations.
  - In xl_ifmedia_upd() add a missing XL_UNLOCK(). [1]
  - Const'ify the xl_devs array.
  - Remove an outdated comment.
  
  PR:             113406 [1]
  MFC after:      1 month
  
  Revision  Changes    Path
  1.213     +69 -93    src/sys/pci/if_xl.c
  1.60      +2 -1      src/sys/pci/if_xlreg.h


More information about the cvs-src mailing list