remove mention of dv_private and note that usbnet must be first.

fix Ethernet capitalisation in one place.
This commit is contained in:
mrg 2019-08-12 00:01:23 +00:00
parent c9e9d49af6
commit 24747793a5
1 changed files with 5 additions and 7 deletions

View File

@ -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 .\" Copyright (c) 2019 Matthew R. Green
.\" All rights reserved. .\" All rights reserved.
@ -152,11 +152,9 @@ that will be described below.
For autoconfiguration the device attach routine is expected to For autoconfiguration the device attach routine is expected to
ensure that this device's ensure that this device's
.Va struct usbnet .Va struct usbnet
is set to the device is the first member of the device softc, if it can not be used directly
.Fa dv_private , as the device softc, as well as set up the necessary structure members,
if it can not be used directly as the device softc, as well as set find end-points, find the Ethernet address if relevant, call
up the necessary structure members, find end-points, find the
Ethernet address if relevant, call
.Fn usbnet_attach , .Fn usbnet_attach ,
set up interface, Ethernet, and MII capabilities, and finally call set up interface, Ethernet, and MII capabilities, and finally call
.Fn usbnet_attach_ifp . .Fn usbnet_attach_ifp .
@ -682,7 +680,7 @@ The majority of the driver's existing
structure can likely be replaced with usage of structure can likely be replaced with usage of
.Va struct usbnet .Va struct usbnet
and its related functionality. 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, ethercom and mii_data structures, end point descriptors, usbd device,
interface, and task and callout structures (both these probably go interface, and task and callout structures (both these probably go
away entirely) and all the associated watchdog handling, away entirely) and all the associated watchdog handling,