Module Name: src
Committed By: mrg
Date: Sun Aug 9 09:20:30 UTC 2020
Modified Files:
src/share/man/man9: usbnet.9
Log Message:
fix a couple of minor issues:
- un_ed is not a function, but an array
- fix a typo
- add a blank line after a list
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man9/usbnet.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/usbnet.9
diff -u src/share/man/man9/usbnet.9:1.11 src/share/man/man9/usbnet.9:1.12
--- src/share/man/man9/usbnet.9:1.11 Fri Mar 20 08:02:55 2020
+++ src/share/man/man9/usbnet.9 Sun Aug 9 09:20:30 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: usbnet.9,v 1.11 2020/03/20 08:02:55 wiz Exp $
+.\" $NetBSD: usbnet.9,v 1.12 2020/08/09 09:20:30 mrg Exp $
.\"
.\" Copyright (c) 2019 Matthew R. Green
.\" All rights reserved.
@@ -580,8 +580,8 @@ Typically, the device attach routine wil
structure, as listed in
.Sx AUTOCONFIGURATION .
The
-.Fn un_ed
-member should have the
+.Dv un_ed
+array should have the
.Dv USBNET_ENDPT_RX
and
.Dv USBNET_ENDPT_TX
@@ -672,6 +672,7 @@ Returns standard
.It uno_statchg
Handle a status change event for this interface.
.El
+.Pp
The read and write callbacks are called with the core lock held.
See
.Fn usbnet_lock_mii
@@ -805,7 +806,7 @@ The
framework provides three locks for the system: core lock,
receive lock, and transmit lock.
The normal locking order
-for these locks is ifnet lock -> usbnet core lock -> usbnet rxlock -> usbne
+for these locks is ifnet lock -> usbnet core lock -> usbnet rxlock -> usbnet
txlock, or, ifnet lock -> usbnet core lock.
Also note that the core lock may be taken when the ifnet lock is not
held.