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

Marius Strobl marius at FreeBSD.org
Wed Apr 23 21:28:30 UTC 2008


marius      2008-04-23 21:28:30 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/pci              if_xl.c if_xlreg.h 
  Log:
  - Spelling fix for interupt -> interrupt
  - 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]
  
  Revision   Changes    Path
  1.210.2.2  +71 -95    src/sys/pci/if_xl.c
  1.59.2.1   +2 -1      src/sys/pci/if_xlreg.h


More information about the cvs-src mailing list