From owner-cvs-src@FreeBSD.ORG Fri Jul 4 18:27:28 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 831101065676; Fri, 4 Jul 2008 18:27:28 +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 6FEC38FC27; Fri, 4 Jul 2008 18:27:28 +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 m64IRSSr053739; Fri, 4 Jul 2008 18:27:28 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m64IRSB2053738; Fri, 4 Jul 2008 18:27:28 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200807041827.m64IRSB2053738@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 18:27:14 +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/contrib/dev/oltr if_oltr.c if_oltr_isa.c if_oltr_pci.c if_oltrvar.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 18:27:28 -0000 jhb 2008-07-04 18:27:14 UTC FreeBSD src repository Modified files: sys/contrib/dev/oltr if_oltr.c if_oltr_isa.c if_oltr_pci.c if_oltrvar.h Log: SVN rev 180258 on 2008-07-04 18:27:14Z by jhb Make oltr(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after interface attach. - Retire 'unit' from softc and use if_printf() instead. - Don't frob IFF_UP in the driver. - Use callout_() rather than timeout() and untimeout(). Revision Changes Path 1.44 +128 -119 src/sys/contrib/dev/oltr/if_oltr.c 1.2 +1 -7 src/sys/contrib/dev/oltr/if_oltr_isa.c 1.4 +9 -14 src/sys/contrib/dev/oltr/if_oltr_pci.c 1.3 +8 -5 src/sys/contrib/dev/oltr/if_oltrvar.h