summaryrefslogtreecommitdiffstats
path: root/share
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
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')
-rw-r--r--share/man/man9/devclass.96
-rw-r--r--share/man/man9/devclass_find.94
2 files changed, 5 insertions, 5 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 ,
diff --git a/share/man/man9/devclass_find.9 b/share/man/man9/devclass_find.9
index 93f186b..6c1ef44 100644
--- a/share/man/man9/devclass_find.9
+++ b/share/man/man9/devclass_find.9
@@ -41,11 +41,11 @@
.Fn devclass_find "const char *classname"
.Sh DESCRIPTION
Search for the
-.Nm
+.Vt devclass
with the specified name.
.Sh RETURN VALUES
If the
-.Nm
+.Vt devclass
exists, it is returned, otherwise
.Dv NULL
is returned.
OpenPOWER on IntegriCloud