DEVICE_SHUTDOWN9freebsd
Called during system shutdown
Usage
#include <sys/param.h>
#include <sys/bus.h>
int
DEVICE_SHUTDOWN(device_t dev);
Overview
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.
Return values
Zero is returned on success, otherwise an error is returned.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 6 times.