DEVICE_SHUTDOWN(9)

NAME
DEVICE_SHUTDOWN - called during system shutdown

SYNOPSIS
#include <sys/param.h>
#include <sys/bus.h>
int
DEVICE_SHUTDOWN(device_t dev);

DESCRIPTION
This 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.

SEE ALSO
device(9), DEVICE_ATTACH(9)

AUTHORS
This man page was written by Doug Rabson.