Added config_detach_children, config_activate_children.
authorcsapuntz <csapuntz@openbsd.org>
Sun, 9 Apr 2000 19:23:18 +0000 (19:23 +0000)
committercsapuntz <csapuntz@openbsd.org>
Sun, 9 Apr 2000 19:23:18 +0000 (19:23 +0000)
commit07e3414a332b23aba4b16d6b0302cf906684f033
tree9320f1817946e04c202c3f1cc3869b06b0e2c550
parent3733dffbcad9078a1f1c0b38322871d494fe6081
Added config_detach_children, config_activate_children.

Added ref counting to devices: device_ref, device_unref and a new method
for devices : ca_zeroref, called when the ref count hits zero.

Note that ca_zeroref may be called from interrupt context.
sys/kern/subr_autoconf.c
sys/sys/device.h