From owner-freebsd-current Sun Feb 9 22:18:19 2003 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 2C57037B401 for ; Sun, 9 Feb 2003 22:18:18 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 8583243FE1 for ; Sun, 9 Feb 2003 22:17:33 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 29595 invoked by uid 1000); 10 Feb 2003 06:17:35 -0000 Date: Sun, 9 Feb 2003 22:17:35 -0800 (PST) From: Nate Lawson To: current@freebsd.org Subject: bus_setup_intr() vs. ether_ifattach() race Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Which is the correct order to do these two functions? If the irq is enabled before the device is attached, it seems a response cannot be sent if a packet arrives before the attach. The right way seems to be to attach the device before setting up an irq but does this have side effects? -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message