From owner-cvs-src@FreeBSD.ORG Sat Sep 15 09:57:03 2007 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 143A116A41A; Sat, 15 Sep 2007 09:57:02 +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 E97CF13C46C; Sat, 15 Sep 2007 09:57:02 +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 l8F9v26T033919; Sat, 15 Sep 2007 09:57:02 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8F9v2xN033918; Sat, 15 Sep 2007 09:57:02 GMT (envelope-from marius) Message-Id: <200709150957.l8F9v2xN033918@repoman.freebsd.org> From: Marius Strobl Date: Sat, 15 Sep 2007 09:57:02 +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: Sat, 15 Sep 2007 09:57:03 -0000 marius 2007-09-15 09:57:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pci if_xl.c if_xlreg.h Log: MFC: if_xl.c 1.192, 1.199, 1.206, 1.207, 1.208; if_xlreg.h 1.57, 1,58, 1.59 - The 575A doesn't have funcregs in memio. So don't claim that it does. - In detach method, move if_free() after bus_teardown_intr(). - Consistently use if_printf() only in interface methods: if_start(), if_watchdog, etc., or in functions used only in these methods. In all other functions in the driver use device_printf(). - Use the xl_stats_update() callout instead of if_slowtimo() for driving xl_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so xl(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. Revision Changes Path 1.190.2.11 +66 -58 src/sys/pci/if_xl.c 1.55.2.2 +2 -0 src/sys/pci/if_xlreg.h