Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Don't reference older CFATTACH_DECL
details: https://anonhg.NetBSD.org/src/rev/b823cb6c702e
branches: trunk
changeset: 346570:b823cb6c702e
user: maya <maya%NetBSD.org@localhost>
date: Tue Jul 19 17:01:04 2016 +0000
description:
Don't reference older CFATTACH_DECL
diffstat:
share/man/man9/driver.9 | 6 +++---
usr.bin/config/config.5 | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 16621c23e4dd -r b823cb6c702e share/man/man9/driver.9
--- a/share/man/man9/driver.9 Tue Jul 19 16:58:05 2016 +0000
+++ b/share/man/man9/driver.9 Tue Jul 19 17:01:04 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: driver.9,v 1.27 2011/07/23 16:04:35 jym Exp $
+.\" $NetBSD: driver.9,v 1.28 2016/07/19 17:01:36 maya Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 23, 2011
+.Dd July 19, 2016
.Dt DRIVER 9
.Os
.Sh NAME
@@ -64,7 +64,7 @@
is defined with:
.Pp
.Bd -literal
-CFATTACH_DECL(foo, /* driver name */
+CFATTACH_DECL_NEW(foo, /* driver name */
sizeof(struct foo_softc), /* size of instance data */
foo_match, /* match/probe function */
foo_attach, /* attach function */
diff -r 16621c23e4dd -r b823cb6c702e usr.bin/config/config.5
--- a/usr.bin/config/config.5 Tue Jul 19 16:58:05 2016 +0000
+++ b/usr.bin/config/config.5 Tue Jul 19 17:01:04 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: config.5,v 1.36 2016/05/02 09:33:15 wiz Exp $
+.\" $NetBSD: config.5,v 1.37 2016/07/19 17:01:04 maya Exp $
.\"
.\" Copyright (c) 2006, 2007 The NetBSD Foundation.
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd April 29, 2016
+.Dd July 19, 2016
.Dt CONFIG 5
.Os
.Sh NAME
@@ -437,7 +437,7 @@
statement to
.Pa ioconf.c .
However, it is the responsibility of the developer to add the relevant
-.Fn CFATTACH_DECL
+.Fn CFATTACH_DECL_NEW
line to the source of the device's driver.
.It Ic attach Ar base Ic at Ar attr Oo , Ar attr Oo , Ar ... Oc Oc Oo Ic with \
Ar name Oc Oo : dependencies Oc
Home |
Main Index |
Thread Index |
Old Index