Deleted Added
full compact
devclass.9 (43517) devclass.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: devclass.9,v 1.1 1998/09/03 21:52:05 dfr Exp $
29.\" $Id: devclass.9,v 1.2 1999/02/01 22:55:54 mpp Exp $
30.\"
31.Dd June 16, 1998
30.\"
31.Dd June 16, 1998
32.Dt devclass 9
32.Dt DEVCLASS 9
33.Os FreeBSD
34.Sh NAME
35.Nm devclass
36.Nd object representing a class of devices
37.Sh SYNOPSIS
38.Dv typedef struct devclass *devclass_t;
39.Sh DESCRIPTION
40.Pp
41The
42.Dv devclass
43object has two main functions in the system. The first is to manage
44the allocation of unit numbers for device instances and the second is
45to hold the list of device drivers for a particular bus type.
46Each
47.Dv devclass
48has a name and there cannot be two devclasses with the same name.
49This ensures that unique unit numbers are allocated to device
50instances.
51.Sh SEE ALSO
33.Os FreeBSD
34.Sh NAME
35.Nm devclass
36.Nd object representing a class of devices
37.Sh SYNOPSIS
38.Dv typedef struct devclass *devclass_t;
39.Sh DESCRIPTION
40.Pp
41The
42.Dv devclass
43object has two main functions in the system. The first is to manage
44the allocation of unit numbers for device instances and the second is
45to hold the list of device drivers for a particular bus type.
46Each
47.Dv devclass
48has a name and there cannot be two devclasses with the same name.
49This ensures that unique unit numbers are allocated to device
50instances.
51.Sh SEE ALSO
52.Xr device 9 ,
53.Xr driver 9 ,
54.Xr devclass_find 9 ,
55.Xr devclass_add_driver 9 ,
56.Xr devclass_delete_driver 9 ,
52.Xr devclass_add_driver 9 ,
53.Xr devclass_delete_driver 9 ,
54.Xr devclass_find 9 ,
57.Xr devclass_find_driver 9 ,
55.Xr devclass_find_driver 9 ,
58.Xr devclass_get_name 9 ,
59.Xr devclass_get_device 9 ,
56.Xr devclass_get_device 9 ,
60.Xr devclass_get_softc 9 ,
61.Xr devclass_get_devices 9 ,
57.Xr devclass_get_devices 9 ,
62.Xr devclass_get_maxunit 9
58.Xr devclass_get_maxunit 9 ,
59.Xr devclass_get_name 9 ,
60.Xr devclass_get_softc 9 ,
61.Xr device 9 ,
62.Xr driver 9
63.Sh AUTHORS
64This man page was written by
65.An Doug Rabson .
63.Sh AUTHORS
64This man page was written by
65.An Doug Rabson .