Query: device_detach
OS: debian
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVICE_DETACH(9) BSD Kernel Developer's Manual DEVICE_DETACH(9)NAMEDEVICE_DETACH -- detach a deviceSYNOPSIS#include <sys/param.h> #include <sys/bus.h> int DEVICE_DETACH(device_t dev);DESCRIPTIONDetach a device. This can be called if the user is replacing the driver software or if a device is about to be physically removed from the system (e.g. for pccard(4) devices). The method should deallocate any system resources allocated during the DEVICE_ATTACH(9) method and reset the hardware to a sane state (i.e., disable interrupts etc.)RETURN VALUESZero is returned on success, otherwise an appropriate error is returned.SEE ALSOpccard(4), device(9), DEVICE_ATTACH(9), DEVICE_IDENTIFY(9), DEVICE_PROBE(9), DEVICE_SHUTDOWN(9)AUTHORSThis manual page was written by Doug Rabson.BSDJune 16, 1998 BSD
Related Man Pages |
---|
device_identify(9) - debian |
device_detach(9) - freebsd |
device_identify(9) - linux |
device_detach(9) - linux |
device_attach(9) - minix |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Is UNIX an open source OS ? |
Find columns in a file based on header and print to new file |
Weird 'find' results |
A (ksh) Library For and From UNIX.com |