DEVICE_SHUTDOWN(9) | Kernel Developer's Manual | DEVICE_SHUTDOWN(9) |
DEVICE_SHUTDOWN
—
called during system shutdown
#include
<sys/param.h>
#include <sys/bus.h>
int
DEVICE_SHUTDOWN
(device_t
dev);
The
DEVICE_SHUTDOWN
()
method is called during system shutdown to allow the driver to put the
hardware into a consistent state for rebooting the computer.
Zero is returned on success, otherwise an error is returned.
device(9), DEVICE_ATTACH(9), DEVICE_DETACH(9), DEVICE_IDENTIFY(9), DEVICE_PROBE(9)
This manual page was written by Doug Rabson.
January 6, 2005 | Debian |