From owner-freebsd-current@FreeBSD.ORG Thu Mar 27 15:24:09 2003 Return-Path: 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 1671E37B401 for ; Thu, 27 Mar 2003 15:24:09 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C30143F75 for ; Thu, 27 Mar 2003 15:24:08 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 30507 invoked by uid 1000); 27 Mar 2003 23:24:08 -0000 Date: Thu, 27 Mar 2003 15:24:08 -0800 (PST) From: Nate Lawson To: current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-13.0 required=5.0 tests=AWL,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Updated pci/if_* attach patches X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 27 Mar 2003 23:24:10 -0000 I have made the following updates and these should be the versions that will be committed (modulo any bugs people may find). * Move bus_setup_intr to after ether_ifattach. This removes the need for any locking in *_attach because interrupts, even if shared, will not be delivered until *_intr is hooked. * Add bus_child_present check to calls to *_stop in the detach method for devices that have children (i.e. miibus). If you have one of these ethernet cards, please test the patches found at: http://www.root.org/~nate/freebsd/if-diffs/ Thanks, Nate