summaryrefslogtreecommitdiffstats
path: root/share/man/man9/devclass.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-06-02 15:34:14 +0000
committerru <ru@FreeBSD.org>2003-06-02 15:34:14 +0000
commit0078b69f61a8569341ecc037caa661b9951d2ff6 (patch)
tree3d71fadb95184a3acc98b5de84226d6853bbf23a /share/man/man9/devclass.9
parentcdf8f3ce4a49ab30536a833c319134e4cbfc33c2 (diff)
downloadFreeBSD-src-0078b69f61a8569341ecc037caa661b9951d2ff6.zip
FreeBSD-src-0078b69f61a8569341ecc037caa661b9951d2ff6.tar.gz
The devclass is an object type, mark it as such.
This also unbreaks the devclass_find(9) manpage.
Diffstat (limited to 'share/man/man9/devclass.9')
-rw-r--r--share/man/man9/devclass.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/devclass.9 b/share/man/man9/devclass.9
index 58f4bfb..73e4f1a 100644
--- a/share/man/man9/devclass.9
+++ b/share/man/man9/devclass.9
@@ -38,18 +38,18 @@
.Vt typedef struct devclass *devclass_t ;
.Sh DESCRIPTION
The
-.Nm
+.Vt devclass
object has two main functions in the system. The first is to manage
the allocation of unit numbers for device instances and the second is
to hold the list of device drivers for a particular bus type.
Each
-.Nm
+.Vt devclass
has a name and there cannot be two devclasses with the same name.
This ensures that unique unit numbers are allocated to device
instances.
.Pp
Beware that this means
-.Nm
+.Vt devclass
must be the same for different bus attachments of the same device driver.
.Sh SEE ALSO
.Xr devclass_add_driver 9 ,
OpenPOWER on IntegriCloud