Module Name: src
Committed By: riastradh
Date: Fri Feb 11 23:19:34 UTC 2022
Modified Files:
src/share/man/man9: driver.9
Log Message:
driver(9): Delete outdated info about softc and struct device.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man9/driver.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/driver.9
diff -u src/share/man/man9/driver.9:1.32 src/share/man/man9/driver.9:1.33
--- src/share/man/man9/driver.9:1.32 Fri Nov 17 07:42:29 2017
+++ src/share/man/man9/driver.9 Fri Feb 11 23:19:34 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: driver.9,v 1.32 2017/11/17 07:42:29 wiz Exp $
+.\" $NetBSD: driver.9,v 1.33 2022/02/11 23:19:34 riastradh Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -101,14 +101,6 @@ struct foo_softc {
};
.Ed
.Pp
-The autoconfiguration framework mandates that the first member of the
-.Em softc
-structure must be the driver-independent
-.Em device_t .
-Probably its most useful aspect to the driver is that it contains the
-device-instance name
-.Em dv_xname .
-.Pp
If a driver has character device interfaces accessed from userland, the driver
must define the
.Em cdevsw