freebsd man page for device_shutdown

Query: device_shutdown

OS: freebsd

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DEVICE_SHUTDOWN(9)					   BSD Kernel Developer's Manual					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
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.
SEE ALSO
device(9), DEVICE_ATTACH(9), DEVICE_DETACH(9), DEVICE_IDENTIFY(9), DEVICE_PROBE(9)
AUTHORS
This manual page was written by Doug Rabson.
BSD
January 6, 2005 BSD
Related Man Pages
device_detach(9) - freebsd
device_identify(9) - linux
device_detach(9) - hpux
device_detach(9) - osx
device_detach(9) - minix
Similar Topics in the Unix Linux Community
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
Memory Leaks
UNIX Environment Setup - (Just starting!)