ab1b371163
by Ken Hornstein and myself. Add flags to struct device, and define one as "active". Devices are initially active from config_attach(). Their active state may be changed via config_activate() and config_deactivate(). These new functions assume that the device being manipulated will recursively perform the action on its children. Together, config_deactivate() and config_detach() may be used to implement interrupt-driven device detachment. config_deactivate() will take care of things that need to be performed at interrupt time, and config_detach() (which must run in a valid thread context) finishes the job, which may block. |
||
---|---|---|
.. | ||
adosfs | ||
arch | ||
coda | ||
compat | ||
conf | ||
ddb | ||
dev | ||
filecorefs | ||
gdbscripts | ||
ipkdb | ||
isofs | ||
kern | ||
lib | ||
lkm | ||
miscfs | ||
msdosfs | ||
net | ||
netatalk | ||
netccitt | ||
netinet | ||
netiso | ||
netnatm | ||
netns | ||
nfs | ||
stand | ||
sys | ||
ufs | ||
uvm | ||
vm | ||
Makefile |