FreeBSD kernel kern code
device_if.m File Reference
#include <sys/bus.h>
#include <sys/tslog.h>
Include dependency graph for device_if.m:

Go to the source code of this file.

Variables

INTERFACE device
 
 HEADER
 
 PROLOG
 Probe to see if a device matches a driver. More...
 
 EPILOG
 
METHOD int probe
 
STATICMETHOD void identify
 Allow a device driver to detect devices not otherwise enumerated. More...
 
device_t parent
 
METHOD int attach
 
METHOD int detach
 Detach a driver from a device. More...
 
METHOD int shutdown
 Called during system shutdown. More...
 
DEFAULT null_shutdown
 
METHOD int suspend
 This is called by the power-management subsystem when a suspend has been requested by the user or by some automatic mechanism. More...
 
DEFAULT null_suspend
 
METHOD int resume
 This is called when the system resumes after a suspend. More...
 
DEFAULT null_resume
 
METHOD int quiesce
 This is called when the driver is asked to quiesce itself. More...
 
DEFAULT null_quiesce
 
METHOD void * register
 This is called when the driver is asked to register handlers. More...
 
DEFAULT null_register