Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 fix a couple of minor issues:



details:   https://anonhg.NetBSD.org/src/rev/e938848a1f8b
branches:  trunk
changeset: 937121:e938848a1f8b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Aug 09 09:20:30 2020 +0000

description:
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

diffstat:

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

diffs (37 lines):

diff -r a00753540171 -r e938848a1f8b share/man/man9/usbnet.9
--- a/share/man/man9/usbnet.9   Sun Aug 09 09:17:19 2020 +0000
+++ b/share/man/man9/usbnet.9   Sun Aug 09 09:20:30 2020 +0000
@@ -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 @@
 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 @@
 .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 @@
 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.



Home | Main Index | Thread Index | Old Index