Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 remove mention of dv_private and note that us...



details:   https://anonhg.NetBSD.org/src/rev/0fe6d6339909
branches:  trunk
changeset: 458824:0fe6d6339909
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Aug 12 00:01:23 2019 +0000

description:
remove mention of dv_private and note that usbnet must be first.
fix Ethernet capitalisation in one place.

diffstat:

 share/man/man9/usbnet.9 |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r 94671b8b08b0 -r 0fe6d6339909 share/man/man9/usbnet.9
--- a/share/man/man9/usbnet.9   Sun Aug 11 23:55:43 2019 +0000
+++ b/share/man/man9/usbnet.9   Mon Aug 12 00:01:23 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: usbnet.9,v 1.4 2019/08/11 22:03:16 wiz Exp $
+.\"    $NetBSD: usbnet.9,v 1.5 2019/08/12 00:01:23 mrg Exp $
 .\"
 .\" Copyright (c) 2019 Matthew R. Green
 .\" All rights reserved.
@@ -152,11 +152,9 @@
 For autoconfiguration the device attach routine is expected to
 ensure that this device's
 .Va struct usbnet
-is set to the device
-.Fa dv_private ,
-if it can not be used directly as the device softc, as well as set
-up the necessary structure members, find end-points, find the
-Ethernet address if relevant, call
+is the first member of the device softc, if it can not be used directly
+as the device softc, as well as set up the necessary structure members,
+find end-points, find the Ethernet address if relevant, call
 .Fn usbnet_attach ,
 set up interface, Ethernet, and MII capabilities, and finally call
 .Fn usbnet_attach_ifp .
@@ -682,7 +680,7 @@
 structure can likely be replaced with usage of
 .Va struct usbnet
 and its related functionality.
-This includes at least the device_t pointer, ethernet address, the
+This includes at least the device_t pointer, Ethernet address, the
 ethercom and mii_data structures, end point descriptors, usbd device,
 interface, and task and callout structures (both these probably go
 away entirely) and all the associated watchdog handling,



Home | Main Index | Thread Index | Old Index