In message <Pine.BSF.4.20.0004030121320.7902-100000@localhost> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message