DEVICE_SHUTDOWN9
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.