driver.9 (74085) | driver.9 (79366) |
---|---|
1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1998 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" | 1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1998 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" |
29.\" $FreeBSD: head/share/man/man9/driver.9 74085 2001-03-10 19:42:26Z alex $ | 29.\" $FreeBSD: head/share/man/man9/driver.9 79366 2001-07-06 16:46:48Z ru $ |
30.\" 31.Dd June 16, 1998 32.Dt DRIVER 9 33.Os FreeBSD 34.Sh NAME 35.Nm driver 36.Nd structure describing a device driver 37.Sh SYNOPSIS --- 55 unchanged lines hidden (view full) --- 93bus is to handle multiple instances of a given type of bus. 94The 95.Dv DRIVER_MODULE 96macro will also create the devclass with the name of the driver and 97can optionally call extra initialisation code in the driver by 98specifying an extra module event handler and argument as the last two 99arguments. 100.Sh SEE ALSO | 30.\" 31.Dd June 16, 1998 32.Dt DRIVER 9 33.Os FreeBSD 34.Sh NAME 35.Nm driver 36.Nd structure describing a device driver 37.Sh SYNOPSIS --- 55 unchanged lines hidden (view full) --- 93bus is to handle multiple instances of a given type of bus. 94The 95.Dv DRIVER_MODULE 96macro will also create the devclass with the name of the driver and 97can optionally call extra initialisation code in the driver by 98specifying an extra module event handler and argument as the last two 99arguments. 100.Sh SEE ALSO |
101.Xr DRIVER_MODULE 9 , | |
102.Xr devclass 9 , 103.Xr device 9 , 104.Xr DEVICE_ATTACH 9 , 105.Xr DEVICE_DETACH 9 , 106.Xr DEVICE_IDENTIFY 9 , 107.Xr DEVICE_PROBE 9 , | 101.Xr devclass 9 , 102.Xr device 9 , 103.Xr DEVICE_ATTACH 9 , 104.Xr DEVICE_DETACH 9 , 105.Xr DEVICE_IDENTIFY 9 , 106.Xr DEVICE_PROBE 9 , |
108.Xr DEVICE_SHUTDOWN 9 | 107.Xr DEVICE_SHUTDOWN 9 , 108.Xr DRIVER_MODULE 9 |
109.Sh AUTHORS 110This man page was written by 111.An Doug Rabson . | 109.Sh AUTHORS 110This man page was written by 111.An Doug Rabson . |