DEVICE_SHUTDOWN(9)

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.

Authors

This manual page was written by Doug Rabson.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.