From owner-cvs-src@FreeBSD.ORG Fri Apr 11 05:52:53 2003 Return-Path: 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 B745F37B407; Fri, 11 Apr 2003 05:52:53 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55E1943F75; Fri, 11 Apr 2003 05:52:53 -0700 (PDT) (envelope-from mux@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 h3BCqr0U031764; Fri, 11 Apr 2003 05:52:53 -0700 (PDT) (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3BCqq8X031763; Fri, 11 Apr 2003 05:52:52 -0700 (PDT) Message-Id: <200304111252.h3BCqq8X031763@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 11 Apr 2003 05:52:52 -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/fxp if_fxp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 11 Apr 2003 12:52:54 -0000 mux 2003/04/11 05:52:52 PDT FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c Log: - Call ether_ifdetach() before shutting down the hardware. - Remove a useless device_is_alive() check. - Disable interrupts if bus_child_present() so that this check is more useful. This fixes the hangs I was seeing when unloading the fxp driver. Suggestions from: hsu, njl Revision Changes Path 1.168 +18 -20 src/sys/dev/fxp/if_fxp.c