Deleted Added
full compact
driver.9 (38786) driver.9 (49831)
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.\" $Id$
29.\" $Id: driver.9,v 1.1 1998/09/03 21:52:05 dfr Exp $
30.\"
31.Dd June 16, 1998
30.\"
31.Dd June 16, 1998
32.Dt driver 9
32.Dt DRIVER 9
33.Os FreeBSD
34.Sh NAME
35.Nm driver
36.Nd structure describing a device driver
37.Sh SYNOPSIS
38.Bd -literal
39#include <sys/param.h>
40#include <sys/bus.h>

--- 50 unchanged lines hidden (view full) ---

91bus is to handle multiple instances of a given type of bus.
92The
93.Dv DRIVER_MODULE
94macro will also create the devclass with the name of the driver and
95can optionally call extra initialisation code in the driver by
96specifying an extra module event handler and argument as the last two
97arguments.
98.Sh SEE ALSO
33.Os FreeBSD
34.Sh NAME
35.Nm driver
36.Nd structure describing a device driver
37.Sh SYNOPSIS
38.Bd -literal
39#include <sys/param.h>
40#include <sys/bus.h>

--- 50 unchanged lines hidden (view full) ---

91bus is to handle multiple instances of a given type of bus.
92The
93.Dv DRIVER_MODULE
94macro will also create the devclass with the name of the driver and
95can optionally call extra initialisation code in the driver by
96specifying an extra module event handler and argument as the last two
97arguments.
98.Sh SEE ALSO
99.Xr device 9 ,
100.Xr devclass 9
99.Xr devclass 9 ,
100.Xr device 9
101.Sh AUTHORS
102This man page was written by
103.An Doug Rabson .
101.Sh AUTHORS
102This man page was written by
103.An Doug Rabson .