From owner-cvs-src@FreeBSD.ORG Thu Aug 18 17:09:17 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7879616A41F; Thu, 18 Aug 2005 17:09:17 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3EBB43D45; Thu, 18 Aug 2005 17:09:16 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7IH9GQs055350; Thu, 18 Aug 2005 17:09:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7IH9GRO055349; Thu, 18 Aug 2005 17:09:16 GMT (envelope-from jhb) Message-Id: <200508181709.j7IH9GRO055349@repoman.freebsd.org> From: John Baldwin Date: Thu, 18 Aug 2005 17:09:16 +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/pci if_sf.c if_sfreg.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: Thu, 18 Aug 2005 17:09:17 -0000 jhb 2005-08-18 17:09:16 UTC FreeBSD src repository Modified files: sys/pci if_sf.c if_sfreg.h Log: Fixup locking for sf(4) and mark MPSAFE: - Add locked variants of start, init, and ifmedia_upd. - Use callout_* instead of timeout/untimeout. - Don't recurse on the driver lock. - Fixup locking in ioctl. - Lock the driver lock in the ifmedia handlers rather than across ifmedia_ioctl(). Tested by: brueffer MFC after: 3 days Revision Changes Path 1.86 +82 -52 src/sys/pci/if_sf.c 1.16 +1 -1 src/sys/pci/if_sfreg.h