DRIVER_UNIDENTIFY

John Baldwin <[email protected]> Thu, 15 Dec 2005 12:47:26 -0500
Newsgroups gmane.os.freebsd.devel.new-bus
Message-ID <[email protected]>
How about creating a new driver_if.m entry point that is the complement to 
DRIVER_IDENTIFY.  I would call it DRIVER_UNIDENTIFY() and would change 
bus_generic_detach() to call it on each driver similar to how 
bus_generic_probe() currently calls DRIVER_IDENTIFY() for each driver.  This 
would allow drivers that create devices in DRIVER_IDENTIFY() have a place to 
remove the device when they are unloaded.

-- 
John Baldwin <[email protected]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-new-bus
To unsubscribe, send any mail to "[email protected]"