From owner-freebsd-current@FreeBSD.ORG Fri Sep 23 20:06:13 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 A75FE16A41F for ; Fri, 23 Sep 2005 20:06:13 +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 38AF643D45 for ; Fri, 23 Sep 2005 20:06:12 +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 ; Fri, 23 Sep 2005 16:22:05 -0400 From: John Baldwin To: current@freebsd.org Date: Fri, 23 Sep 2005 16:07:22 -0400 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200509231607.23326.jhb@FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Subject: [PATCH] Fixes and tweaks for sis(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: Fri, 23 Sep 2005 20:06:13 -0000 Patch below does the following: - Remove sis_unit using if_printf() and device_printf() instead. - Use callout_init_mtx() for the callout. - Remove spls. - Fix locking for the ifmedia to happen in the ifmedia handlers rather than in sis_ioctl(). Please test. Thanks! http://www.FreeBSD.org/~jhb/patches/sis_locking.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org