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

Marius Strobl marius at FreeBSD.org
Wed Apr 23 21:38:29 UTC 2008


marius      2008-04-23 21:38:29 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_xl.c if_xlreg.h 
  Log:
  MFC: if_xl.c 1.211, 1.212, 1.213 (partial); if_xlreg.h 1.60
  
  - Spelling fix for interupt -> interrupt
  - Fix function prototype for device_shutdown method.
  - Take advantage of bus_dmamap_load_mbuf_sg(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.190.2.12  +75 -97    src/sys/pci/if_xl.c
  1.55.2.3    +2 -1      src/sys/pci/if_xlreg.h


More information about the cvs-src mailing list