From owner-cvs-src@FreeBSD.ORG Tue Jun 10 17:59:51 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 9405C1065792; Tue, 10 Jun 2008 17:59:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 75C078FC1B; Tue, 10 Jun 2008 17:59:51 +0000 (UTC) (envelope-from jhb@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 m5AHxpvv017104; Tue, 10 Jun 2008 17:59:51 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m5AHxpUv017103; Tue, 10 Jun 2008 17:59:51 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200806101759.m5AHxpUv017103@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 10 Jun 2008 17:59:43 +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/dev/tx if_tx.c if_txvar.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: Tue, 10 Jun 2008 17:59:51 -0000 jhb 2008-06-10 17:59:43 UTC FreeBSD src repository Modified files: sys/dev/tx if_tx.c if_txvar.h Log: SVN rev 179706 on 2008-06-10 17:59:43Z by jhb Make tx(4) MPSAFE - Add a mutex to the softc to protect the softc and device hardware. - Use a private timer to implement a watchdog for tx timeouts and drive the timer for auto negotiation. - Use bus_foo() rather than bus_space_foo() and remove the bus space tag & handle from the softc. - Call bus_setup_intr() after ether_ifattach(). Tested by: Florian Smeets flo of kasimir.com Revision Changes Path 1.98 +121 -107 src/sys/dev/tx/if_tx.c 1.20 +13 -10 src/sys/dev/tx/if_txvar.h