From owner-cvs-src@FreeBSD.ORG Fri Jul 4 17:48: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 B9CE11065685; Fri, 4 Jul 2008 17:48: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 A78BF8FC1A; Fri, 4 Jul 2008 17:48: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 m64HmpTq049192; Fri, 4 Jul 2008 17:48:51 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m64Hmp4E049191; Fri, 4 Jul 2008 17:48:51 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200807041748.m64Hmp4E049191@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 4 Jul 2008 17:48:34 +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/arl if_arl.c if_arl_isa.c if_arlreg.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: Fri, 04 Jul 2008 17:48:51 -0000 jhb 2008-07-04 17:48:34 UTC FreeBSD src repository Modified files: sys/dev/arl if_arl.c if_arl_isa.c if_arlreg.h Log: SVN rev 180256 on 2008-07-04 17:48:34Z by jhb Make arl(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after ether_ifattach(). - Use a private timer instead of if_timer/if_watchdog. - Retire arl_unit from the softc and use if_printf() and device_printf() instead. Note that the unpatched driver in 6.x and later does not work with the hardware, so the one person who had volunteered to test the patch wasn't able to test it. Revision Changes Path 1.16 +135 -108 src/sys/dev/arl/if_arl.c 1.9 +7 -21 src/sys/dev/arl/if_arl_isa.c 1.8 +7 -1 src/sys/dev/arl/if_arlreg.h