From 24747793a5bc9582c1a88e582871b3c201d84995 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 12 Aug 2019 00:01:23 +0000 Subject: [PATCH] remove mention of dv_private and note that usbnet must be first. fix Ethernet capitalisation in one place. --- share/man/man9/usbnet.9 | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/share/man/man9/usbnet.9 b/share/man/man9/usbnet.9 index bab741dfc173..3d46c066679a 100644 --- a/share/man/man9/usbnet.9 +++ b/share/man/man9/usbnet.9 @@ -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 @@ that will be described below. 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 @@ The majority of the driver's existing 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,