Doug Rabson 6350e58a8a Add some useful functions to the device framework:
* bus_setup_intr() as a wrapper for BUS_SETUP_INTR
* bus_teardown_intr() as a wrapper for BUS_TEARDOWN_INTR
* device_get_nameunit() which returns e.g. "foo0" for name "foo" and unit 0.
* device_set_desc_copy() malloc a copy of the description string.
* device_quiet(), device_is_quiet(), device_verbose() suppress probe message.

Add one method to the BUS interface, BUS_CHILD_DETACHED() which is called
after the child has been detached to allow the bus to clean up any memory
which it allocated on behalf of the child.

I also fixed a bug which corrupted the list of drivers in a devclass if
a driver was added to more than one devclass.
1999-03-29 08:54:20 +00:00
..
1999-03-28 17:52:17 +00:00
1999-02-12 12:44:19 +00:00
1999-03-11 18:50:39 +00:00
1999-03-13 13:20:59 +00:00
1999-03-28 09:12:17 +00:00
1999-03-24 21:20:12 +00:00
1998-01-08 23:42:31 +00:00