Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 driver(9): Delete outdated info about softc a...
details: https://anonhg.NetBSD.org/src/rev/e1947ecab5de
branches: trunk
changeset: 361128:e1947ecab5de
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Feb 11 23:19:34 2022 +0000
description:
driver(9): Delete outdated info about softc and struct device.
diffstat:
share/man/man9/driver.9 | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diffs (24 lines):
diff -r d9b77984fbeb -r e1947ecab5de share/man/man9/driver.9
--- a/share/man/man9/driver.9 Fri Feb 11 21:44:10 2022 +0000
+++ b/share/man/man9/driver.9 Fri Feb 11 23:19:34 2022 +0000
@@ -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 @@
};
.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
Home |
Main Index |
Thread Index |
Old Index