Date: Wed, 23 Apr 2008 21:28:30 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h Message-ID: <200804232128.m3NLSUCE064069@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804232128.m3NLSUCE064069>
