From owner-freebsd-current@FreeBSD.ORG Thu Sep 22 18:53:12 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB83016A41F for ; Thu, 22 Sep 2005 18:53:12 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2313043D48 for ; Thu, 22 Sep 2005 18:53:11 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.41.233] (Not Verified[10.50.41.233]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 22 Sep 2005 15:09:03 -0400 From: John Baldwin To: current@freebsd.org Date: Thu, 22 Sep 2005 14:52:35 -0400 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509221452.35528.jhb@FreeBSD.org> Cc: Subject: [PATCH] Locking tweaks for rl(4) and re(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 18:53:12 -0000 Patch fixes the drivers to use MPSAFE callouts using callout_init_mtx() and removes rl_unit from the softc by fixing re(4) printfs. It also fixes some minor locking nits in re(4) and fixes ifmedia locking on both drivers. Please test. Thanks! http://www.FreeBSD.org/~jhb/patches/rl_locking.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org