From owner-freebsd-hackers Sun Apr 2 17:30:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 68F1A37BC18 for ; Sun, 2 Apr 2000 17:30:32 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA85225; Sun, 2 Apr 2000 18:29:56 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA56087; Sun, 2 Apr 2000 18:29:19 -0600 (MDT) Message-Id: <200004030029.SAA56087@harmony.village.org> To: Nick Hibma Subject: Re: Reserving Resources Cc: Nikolai Saoukh , freebsd-hackers@freebsd.org In-reply-to: Your message of "Mon, 03 Apr 2000 01:23:02 BST." References: Date: Sun, 02 Apr 2000 18:29:19 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Nick Hibma writes: : Um, in that case you should update subr_bus.c. Change committed two : weeks ago. I got annoyed to by that too :-) Hmmmm. This work was on a 4.0-RELEASE system.... Makes sense. BTW, I have a hack to subr_bus that prints detach messages when a device is detached. This will hoist some code from the drivers that detach into the bus system. I think it would be useful to commit. Comments? Warner Index: subr_bus.c =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/kern/subr_bus.c,v retrieving revision 1.56 diff -u -r1.56 subr_bus.c --- subr_bus.c 2000/04/01 06:06:37 1.56 +++ subr_bus.c 2000/04/03 00:28:59 @@ -1179,6 +1179,7 @@ if ((error = DEVICE_DETACH(dev)) != 0) return error; + device_printf(dev, "detached\n"); if (dev->parent) BUS_CHILD_DETACHED(dev->parent, dev); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message