From owner-cvs-src@FreeBSD.ORG Wed Apr 23 21:38:29 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 AB060106566B; Wed, 23 Apr 2008 21:38:29 +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 918BB8FC15; Wed, 23 Apr 2008 21:38:29 +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 m3NLcTK6064561; Wed, 23 Apr 2008 21:38:29 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3NLcTMT064560; Wed, 23 Apr 2008 21:38:29 GMT (envelope-from marius) Message-Id: <200804232138.m3NLcTMT064560@repoman.freebsd.org> From: Marius Strobl Date: Wed, 23 Apr 2008 21:38:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 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:38:29 -0000 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