From owner-cvs-src@FreeBSD.ORG Wed Dec 6 02:18:42 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E20B16A415; Wed, 6 Dec 2006 02:18:42 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80D7143C9D; Wed, 6 Dec 2006 02:17:59 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB62Ifaj046325; Wed, 6 Dec 2006 02:18:41 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB62IfVn046324; Wed, 6 Dec 2006 02:18:41 GMT (envelope-from marius) Message-Id: <200612060218.kB62IfVn046324@repoman.freebsd.org> From: Marius Strobl Date: Wed, 6 Dec 2006 02:18:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD 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, 06 Dec 2006 02:18:42 -0000 marius 2006-12-06 02:18:41 UTC FreeBSD src repository Modified files: sys/pci if_xl.c if_xlreg.h Log: - Use the xl_stats_update() callout instead of if_slowtimo() for driving xl_watchdog() in order to avoid races accessing if_timer. While at it relax the watchdog a bit by reloading it in xl_txeof()/ xl_txeof_90xB() if there are still packets enqueued. - 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.207 +26 -22 src/sys/pci/if_xl.c 1.59 +1 -0 src/sys/pci/if_xlreg.h