Subject: Kernel Detach Functions - help
To: , <tech-kern@netbsd.org>
From: Bruce Martin <brucem@cat.co.za>
List: tech-kern
Date: 04/05/2001 11:21:13
I am looking for some help on kernel detach function, for example, the
detach() function in the PCMCIA wdc code, that allows a device to be
detached from the kernel, and then reattached without reboot (i.e. hotswap).
I have looked through the code, and need to know how this code is called -
is it entered through a hardware interrupt when a device is removed from a
bus? Or is it entered via software, ioctls() etc?

Any help is greatly appreciated.

Thanks
 Bruce Martin