From owner-cvs-src@FreeBSD.ORG Wed Apr 23 21:28:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59358106564A; Wed, 23 Apr 2008 21:28:30 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9F78FC0C; Wed, 23 Apr 2008 21:28:30 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3NLSUI3064070; Wed, 23 Apr 2008 21:28:30 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3NLSUCE064069; Wed, 23 Apr 2008 21:28:30 GMT (envelope-from marius) Message-Id: <200804232128.m3NLSUCE064069@repoman.freebsd.org> From: Marius Strobl Date: Wed, 23 Apr 2008 21:28:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 21:28:30 -0000 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