From owner-cvs-all@FreeBSD.ORG Mon Apr 28 20:22:40 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D64A837B401; Mon, 28 Apr 2003 20:22:40 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6023743FAF; Mon, 28 Apr 2003 20:22:40 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3T3Me0U067788; Mon, 28 Apr 2003 20:22:40 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3T3MeKi067783; Mon, 28 Apr 2003 20:22:40 -0700 (PDT) Message-Id: <200304290322.h3T3MeKi067783@repoman.freebsd.org> From: Warner Losh Date: Mon, 28 Apr 2003 20:22:40 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/wi if_wi.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 03:22:41 -0000 imp 2003/04/28 20:22:40 PDT FreeBSD src repository Modified files: sys/dev/wi if_wi.c Log: Don't hold a driver lock across bus_teardown_intr. Jhb points out that one cannot generally hold a lock and call bus_teardown_intr. This is race free with wi_intr because bus_teardown_intr won't allow wi_intr to be called after it returns. # jeff hsu points out that there might be a race between this unlock # and wi_start. While that may be true also, it won't impact this commit. Submitted by: jhb Revision Changes Path 1.140 +1 -2 src/sys/dev/wi/if_wi.c