Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Minor fixes.



details:   https://anonhg.NetBSD.org/src/rev/ba1d3693ab13
branches:  trunk
changeset: 964677:ba1d3693ab13
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Aug 11 22:03:16 2019 +0000

description:
Minor fixes.

diffstat:

 share/man/man9/usbnet.9 |  19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diffs (62 lines):

diff -r 49577f38173a -r ba1d3693ab13 share/man/man9/usbnet.9
--- a/share/man/man9/usbnet.9   Sun Aug 11 21:33:08 2019 +0000
+++ b/share/man/man9/usbnet.9   Sun Aug 11 22:03:16 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: usbnet.9,v 1.3 2019/08/11 21:33:08 mrg Exp $
+.\"    $NetBSD: usbnet.9,v 1.4 2019/08/11 22:03:16 wiz Exp $
 .\"
 .\" Copyright (c) 2019 Matthew R. Green
 .\" All rights reserved.
@@ -755,7 +755,8 @@
 The
 .Nm
 framework provides four locks for the system: normal device/softc lock,
-receive and transmit locks, and the MII lock.  The normal locking order
+receive and transmit locks, and the MII lock.
+The normal locking order
 for these locks is ifnet lock -> usbnet lock -> usbnet rxlock -> usbne
 txlock, or, ifnet lock -> usbnet lock -> MII lock.
 .It MII handling
@@ -767,9 +768,9 @@
 and do not require any checking for running, or up, or dying devices
 unless they drop and retake the MII lock.
 Their return value is changed from
-.Fr int
+.Vt int
 to
-.Fr usbd_status
+.Vt usbd_status
 and should use
 .Dv USBD_NORMAL_COMPLETION
 for success.
@@ -781,7 +782,7 @@
 .Fn usbnet_havelink .
 Other ifmedia callbacks that were passed to
 .Fn ifmedia_init
-should be deleted and any work moved into 
+should be deleted and any work moved into
 .Dq uno_statchg .
 .It Receive and Transmit
 The
@@ -816,8 +817,11 @@
 .Fn usbent_set_link
 during any status change event.
 .Pp
-Many locking issues are hidden without LOCKDEBUG, including hard-hangs.
-It's highly recommended to develop with LOCKDEBUG.
+Many locking issues are hidden without
+.Dv LOCKDEBUG ,
+including hard-hangs.
+It's highly recommended to develop with
+.Dv LOCKDEBUG .
 .Pp
 The
 .Va usbnet
@@ -826,7 +830,6 @@
 .Dq 0
 as the no-endpoint value.
 .El
-.Pp
 .Sh SEE ALSO
 .Xr usb 4 ,
 .Xr driver 9 ,



Home | Main Index | Thread Index | Old Index