DEVICE_SHUTDOWN.9 (3d45e180f437865262fc7c39fc3239641f305737) | DEVICE_SHUTDOWN.9 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) |
---|---|
1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1998 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 21 unchanged lines hidden (view full) --- 30.\" 31.Dd June 16, 1998 32.Dt DEVICE_SHUTDOWN 9 33.Os 34.Sh NAME 35.Nm DEVICE_SHUTDOWN 36.Nd called during system shutdown 37.Sh SYNOPSIS | 1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1998 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 21 unchanged lines hidden (view full) --- 30.\" 31.Dd June 16, 1998 32.Dt DEVICE_SHUTDOWN 9 33.Os 34.Sh NAME 35.Nm DEVICE_SHUTDOWN 36.Nd called during system shutdown 37.Sh SYNOPSIS |
38.Fd #include <sys/param.h> 39.Fd #include <sys/bus.h> | 38.In sys/param.h 39.In sys/bus.h |
40.Ft int 41.Fn DEVICE_SHUTDOWN "device_t dev" 42.Sh DESCRIPTION 43This is called during system shutdown to allow the driver to put the 44hardware into a consistent state for rebooting the computer. 45.Sh RETURN VALUES 46Zero is returned on success, otherwise an error is returned. 47.Sh SEE ALSO 48.Xr device 9 , 49.Xr DEVICE_ATTACH 9 , 50.Xr DEVICE_DETACH 9 , 51.Xr DEVICE_IDENTIFY 9 , 52.Xr DEVICE_PROBE 9 53.Sh AUTHORS 54This man page was written by 55.An Doug Rabson . | 40.Ft int 41.Fn DEVICE_SHUTDOWN "device_t dev" 42.Sh DESCRIPTION 43This is called during system shutdown to allow the driver to put the 44hardware into a consistent state for rebooting the computer. 45.Sh RETURN VALUES 46Zero is returned on success, otherwise an error is returned. 47.Sh SEE ALSO 48.Xr device 9 , 49.Xr DEVICE_ATTACH 9 , 50.Xr DEVICE_DETACH 9 , 51.Xr DEVICE_IDENTIFY 9 , 52.Xr DEVICE_PROBE 9 53.Sh AUTHORS 54This man page was written by 55.An Doug Rabson . |