logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DEVICE_SHUTDOWN — called during system shutdown

Authors

       This manual page was written by Doug Rabson.

Debian                                           January 6, 2005                              DEVICE_SHUTDOWN(9)

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.

Name

       DEVICE_SHUTDOWN — called during system shutdown

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)

Synopsis

#include<sys/param.h>#include<sys/bus.h>intDEVICE_SHUTDOWN(device_tdev);

See Also