Module Name:    src
Committed By:   mrg
Date:           Fri Aug 30 08:54:58 UTC 2019

Modified Files:
        src/distrib/sets/lists/man: mi
        src/share/man/man4: Makefile aue.4 axe.4 axen.4 cdce.4 cue.4 kue.4
            mue.4 nfe.4 sk.4 udav.4 umb.4 upl.4 ure.4 url.4 urndis.4 usmsc.4
Added Files:
        src/share/man/man4: usbnet.4

Log Message:
document usbnet diagnostics in usbnet(4).  remove all the no longer
present messages in specific drivers for the usbnet drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.1650 -r1.1651 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.680 -r1.681 src/share/man/man4/Makefile
cvs rdiff -u -r1.20 -r1.21 src/share/man/man4/aue.4 src/share/man/man4/sk.4
cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/axe.4 src/share/man/man4/cdce.4
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/axen.4 src/share/man/man4/upl.4
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/cue.4 src/share/man/man4/url.4
cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/kue.4
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/mue.4 src/share/man/man4/nfe.4 \
    src/share/man/man4/udav.4
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/umb.4
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/ure.4
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/urndis.4
cvs rdiff -u -r0 -r1.1 src/share/man/man4/usbnet.4
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/usmsc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1650 src/distrib/sets/lists/man/mi:1.1651
--- src/distrib/sets/lists/man/mi:1.1650	Fri Aug 23 08:17:27 2019
+++ src/distrib/sets/lists/man/mi	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1650 2019/08/23 08:17:27 mrg Exp $
+# $NetBSD: mi,v 1.1651 2019/08/30 08:54:58 mrg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1901,6 +1901,7 @@
 ./usr/share/man/cat4/urtw.0			man-sys-catman		.cat
 ./usr/share/man/cat4/urtwn.0			man-sys-catman		.cat
 ./usr/share/man/cat4/usb.0			man-sys-catman		.cat
+./usr/share/man/cat4/usbnet.0			man-sys-catman		.cat
 ./usr/share/man/cat4/usbtask.0			man-sys-catman		.cat
 ./usr/share/man/cat4/uscanner.0			man-sys-catman		.cat
 ./usr/share/man/cat4/userconf.0			man-sys-catman		.cat
@@ -4994,6 +4995,7 @@
 ./usr/share/man/html4/urtw.html			man-sys-htmlman		html
 ./usr/share/man/html4/urtwn.html		man-sys-htmlman		html
 ./usr/share/man/html4/usb.html			man-sys-htmlman		html
+./usr/share/man/html4/usbnet.html		man-sys-htmlman		html
 ./usr/share/man/html4/usbtask.html		man-sys-htmlman		html
 ./usr/share/man/html4/uscanner.html		man-sys-htmlman		html
 ./usr/share/man/html4/userconf.html		man-sys-htmlman		html
@@ -8011,6 +8013,7 @@
 ./usr/share/man/man4/urtw.4			man-sys-man		.man
 ./usr/share/man/man4/urtwn.4			man-sys-man		.man
 ./usr/share/man/man4/usb.4			man-sys-man		.man
+./usr/share/man/man4/usbnet.4			man-sys-man		.man
 ./usr/share/man/man4/usbtask.4			man-sys-man		.man
 ./usr/share/man/man4/uscanner.4			man-sys-man		.man
 ./usr/share/man/man4/userconf.4			man-sys-man		.man

Index: src/share/man/man4/Makefile
diff -u src/share/man/man4/Makefile:1.680 src/share/man/man4/Makefile:1.681
--- src/share/man/man4/Makefile:1.680	Tue Mar 26 12:21:28 2019
+++ src/share/man/man4/Makefile	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.680 2019/03/26 12:21:28 pgoyette Exp $
+#	$NetBSD: Makefile,v 1.681 2019/08/30 08:54:58 mrg Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/18/93
 
 MAN=	aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -83,7 +83,7 @@ MAN+=	atu.4 aubtfwl.4 aue.4 axe.4 axen.4
 	uhidev.4 uhmodem.4 uhso.4 uipad.4 uipaq.4 uirda.4 ukbd.4 ukyopon.4 \
 	ulpt.4 umass.4 umcs.4 umct.4 umidi.4 umodem.4 ums.4 upgt.4 upl.4 \
 	uplcom.4 ure.4 urio.4 url.4 urndis.4 urtw.4 urtwn.4 \
-	usb.4 uscanner.4 uslsa.4 usmsc.4 usscanner.4 \
+	usb.4 usbnet.4 uscanner.4 uslsa.4 usmsc.4 usscanner.4 \
 	ustir.4 uthum.4 utoppy.4 uts.4 uvideo.4 uvisor.4 uvscom.4 uyap.4 \
 	uyurex.4 \
 	xhci.4 \

Index: src/share/man/man4/aue.4
diff -u src/share/man/man4/aue.4:1.20 src/share/man/man4/aue.4:1.21
--- src/share/man/man4/aue.4:1.20	Sat Sep 25 22:14:07 2010
+++ src/share/man/man4/aue.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: aue.4,v 1.20 2010/09/25 22:14:07 wiz Exp $
+.\"	$NetBSD: aue.4,v 1.21 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999
 .\"     Bill Paul <wp...@ee.columbia.edu>. All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" FreeBSD: src/share/man/man4/aue.4,v 1.2 2000/01/07 22:18:47 wpaul Exp
 .\"
-.Dd September 25, 2010
+.Dd August 24 2019
 .Dt AUE 4
 .Os
 .Sh NAME
@@ -145,18 +145,14 @@ if this media option is not specified.
 For more information on configuring this device, see
 .Xr ifconfig 8 .
 .Sh DIAGNOSTICS
-.Bl -diag
-.It "aue%d: watchdog timeout"
-A packet was queued for transmission and a transmit command was
-issued, however the device failed to acknowledge the transmission
-before a timeout expired.
-.It "aue%d: no memory for rx list"
-The driver failed to allocate an mbuf for the receiver ring.
-.El
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Rs
 .%T ADMtek AN986 data sheet
Index: src/share/man/man4/sk.4
diff -u src/share/man/man4/sk.4:1.20 src/share/man/man4/sk.4:1.21
--- src/share/man/man4/sk.4:1.20	Wed Jan  9 19:01:24 2019
+++ src/share/man/man4/sk.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sk.4,v 1.20 2019/01/09 19:01:24 dholland Exp $
+.\"	$NetBSD: sk.4,v 1.21 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 2003, The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -58,7 +58,7 @@
 .\"
 .\" $FreeBSD: src/share/man/man4/man4.i386/sk.4,v 1.3 1999/08/28 00:20:29 peter Exp $
 .\"
-.Dd January 9, 2018
+.Dd August 24 2019
 .Dt SK 4
 .Os
 .Sh NAME
@@ -208,7 +208,7 @@ Enable autoselection of the media type a
 The user can manually override
 the autoselected mode.
 .\" by adding media options to the appropriate
-.\" .Xr hostname.if 5
+.Xr ifconfig.if 5
 .\" file.
 .It Cm media No 1000baseSX Cm mediaopt No full-duplex
 Set 1000Mbps (Gigabit Ethernet) operation on fiber and force full-duplex mode.
@@ -247,6 +247,7 @@ the network connection (cable).
 .Xr intro 4 ,
 .Xr netintro 4 ,
 .Xr pci 4 ,
+.Xr ifconfig.if 5
 .Xr ifconfig 8
 .Rs
 .%T XaQti XMAC II datasheet

Index: src/share/man/man4/axe.4
diff -u src/share/man/man4/axe.4:1.15 src/share/man/man4/axe.4:1.16
--- src/share/man/man4/axe.4:1.15	Fri Aug 31 17:35:06 2018
+++ src/share/man/man4/axe.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: axe.4,v 1.15 2018/08/31 17:35:06 wiz Exp $
+.\" $NetBSD: axe.4,v 1.16 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 2003-2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -60,7 +60,7 @@
 .\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/axe.4,v 1.3 2003/05/29 21:28:35 ru Exp $
 .\" $OpenBSD: axe.4,v 1.37 2009/11/08 20:25:29 jasper Exp $
 .\"
-.Dd August 31, 2018
+.Dd August 24 2019
 .Dt AXE 4
 .Os
 .Sh NAME
@@ -178,11 +178,16 @@ if this media option is not specified.
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+.Sh DIAGNOSTICS
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr ifmedia 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Rs
 .%T ASIX AX88172 data sheet
Index: src/share/man/man4/cdce.4
diff -u src/share/man/man4/cdce.4:1.15 src/share/man/man4/cdce.4:1.16
--- src/share/man/man4/cdce.4:1.15	Sat Mar 23 23:15:11 2019
+++ src/share/man/man4/cdce.4	Fri Aug 30 08:54:58 2019
@@ -25,9 +25,9 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $NetBSD: cdce.4,v 1.15 2019/03/23 23:15:11 wiz Exp $
+.\" $NetBSD: cdce.4,v 1.16 2019/08/30 08:54:58 mrg Exp $
 .\"
-.Dd March 23, 2019
+.Dd August 24 2019
 .Dt CDCE 4
 .Os
 .Sh NAME
@@ -94,24 +94,18 @@ can be tried to work around the missing 
 .It "cdce%d: could not find data bulk in/out"
 For a manually added USB vendor/product, these errors indicate
 that the bridge is not compatible with the driver.
-.It "cdce%d: watchdog timeout"
-A packet was queued for transmission and a transmit command was
-issued, however the device failed to acknowledge the transmission
-before a timeout expired.
-.It "cdce%d: no memory for rx list -- packet dropped!"
-Memory allocation through MGETHDR or MCLGET failed, the system
-is running low on mbufs.
-.It "cdce%d: abort/close rx/tx pipe failed"
-.It "cdce%d: rx/tx list init failed"
-.It "cdce%d: open rx/tx pipe failed"
-.It "cdce%d: usb error on rx/tx"
 .El
+.Pp
+Also see
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr intro 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
-.\" .Xr hostname.if 5 ,
+.Xr usbnet 4 ,
+.Xr ifconfig.if 5 ,
 .Xr ifconfig 8
 .Rs
 .%T "Universal Serial Bus Class Definitions for Communication Devices"

Index: src/share/man/man4/axen.4
diff -u src/share/man/man4/axen.4:1.7 src/share/man/man4/axen.4:1.8
--- src/share/man/man4/axen.4:1.7	Fri Jul 27 19:11:56 2018
+++ src/share/man/man4/axen.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: axen.4,v 1.7 2018/07/27 19:11:56 snj Exp $
+.\"	$NetBSD: axen.4,v 1.8 2019/08/30 08:54:58 mrg Exp $
 .\"	$OpenBSD: axen.4,v 1.2 2013/10/07 07:18:36 jmc Exp $
 .\"
 .\" Copyright (c) 2013 Yojiro UO <y...@nui.org>
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd July 27, 2018
+.Dd August 24 2019
 .Dt AXEN 4
 .Os
 .Sh NAME
@@ -62,18 +62,16 @@ Set 1000Mbps (Gigabit Ethernet) operatio
 For more information on configuring this device, see
 .Xr ifconfig 8 .
 .Sh DIAGNOSTICS
-.Bl -diag
-.It "axen%d: watchdog timeout"
-A packet was queued for transmission and a transmit command was
-issued, however the device failed to acknowledge the transmission
-before a timeout expired.
-.El
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr mii 4 ,
 .Xr netintro 4 ,
 .Xr rgephy 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig.if 5 ,
 .Xr ifconfig 8
 .Sh HISTORY
Index: src/share/man/man4/upl.4
diff -u src/share/man/man4/upl.4:1.7 src/share/man/man4/upl.4:1.8
--- src/share/man/man4/upl.4:1.7	Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/upl.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: upl.4,v 1.7 2008/04/30 13:10:54 martin Exp $
+.\" $NetBSD: upl.4,v 1.8 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 10, 2000
+.Dd August 24 2019
 .Dt UPL 4
 .Os
 .Sh NAME
@@ -71,9 +71,14 @@ driver supports the following adapters f
 Belkin, Entrega, and Xircom do
 .Em NOT
 use this chip and are not supported by this driver.
+.Sh DIAGNOSTICS
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The

Index: src/share/man/man4/cue.4
diff -u src/share/man/man4/cue.4:1.8 src/share/man/man4/cue.4:1.9
--- src/share/man/man4/cue.4:1.8	Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/cue.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cue.4,v 1.8 2014/03/18 18:20:39 riastradh Exp $
+.\"	$NetBSD: cue.4,v 1.9 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999, 2000
 .\"     Bill Paul <wp...@ee.columbia.edu>. All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" FreeBSD: src/share/man/man4/cue.4,v 1.1 2000/01/14 03:14:47 wpaul Exp
 .\"
-.Dd January 13, 2000
+.Dd August 24 2019
 .Dt CUE 4
 .Os
 .Sh NAME
@@ -69,18 +69,14 @@ modes to select.
 For more information on configuring this device, see
 .Xr ifconfig 8 .
 .Sh DIAGNOSTICS
-.Bl -diag
-.It "cue%d: watchdog timeout"
-A packet was queued for transmission and a transmit command was
-issued, however the device failed to acknowledge the transmission
-before a timeout expired.
-.It "cue%d: no memory for rx list"
-The driver failed to allocate an mbuf for the receiver ring.
-.El
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The
Index: src/share/man/man4/url.4
diff -u src/share/man/man4/url.4:1.8 src/share/man/man4/url.4:1.9
--- src/share/man/man4/url.4:1.8	Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/url.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: url.4,v 1.8 2008/04/30 13:10:54 martin Exp $
+.\"	$NetBSD: url.4,v 1.9 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 18, 2006
+.Dd August 24 2019
 .Dt URL 4
 .Os
 .Sh NAME
@@ -54,19 +54,15 @@ driver supports the following adapters:
 For more information on configuring this device, see
 .Xr ifconfig 8 .
 .Sh DIAGNOSTICS
-.Bl -diag
-.It "url%d: watchdog timeout"
-A packet was queued for transmission and a transmit command was
-issued, however the device failed to acknowledge the transmission
-before a timeout expired.
-.It "url%d: no memory for rx list"
-The driver failed to allocate an mbuf for the receiver ring.
-.El
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr mii 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The

Index: src/share/man/man4/kue.4
diff -u src/share/man/man4/kue.4:1.12 src/share/man/man4/kue.4:1.13
--- src/share/man/man4/kue.4:1.12	Thu Feb  7 03:15:08 2002
+++ src/share/man/man4/kue.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kue.4,v 1.12 2002/02/07 03:15:08 ross Exp $
+.\"	$NetBSD: kue.4,v 1.13 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999, 2000
 .\"     Bill Paul <wp...@ee.columbia.edu>. All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" $FreeBSD: src/share/man/man4/kue.4,v 1.2 2000/01/07 22:18:48 wpaul Exp $
 .\"
-.Dd January 4, 2000
+.Dd August 24 2019
 .Dt KUE 4
 .Os
 .Sh NAME
@@ -82,18 +82,14 @@ modes to select.
 For more information on configuring this device, see
 .Xr ifconfig 8 .
 .Sh DIAGNOSTICS
-.Bl -diag
-.It "kue%d: watchdog timeout"
-A packet was queued for transmission and a transmit command was
-issued, however the device failed to acknowledge the transmission
-before a timeout expired.
-.It "kue%d: no memory for rx list"
-The driver failed to allocate an mbuf for the receiver ring.
-.El
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The

Index: src/share/man/man4/mue.4
diff -u src/share/man/man4/mue.4:1.4 src/share/man/man4/mue.4:1.5
--- src/share/man/man4/mue.4:1.4	Sat Feb  9 07:55:26 2019
+++ src/share/man/man4/mue.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"     $NetBSD: mue.4,v 1.4 2019/02/09 07:55:26 rin Exp $
+.\"     $NetBSD: mue.4,v 1.5 2019/08/30 08:54:58 mrg Exp $
 .\"     $OpenBSD: mue.4,v 1.2 2018/08/03 06:13:14 jmc Exp $
 .\"
 .\" Copyright (c) 2018 Kevin Lo <ke...@openbsd.org>
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd February 9, 2019
+.Dd August 24 2019
 .Dt MUE 4
 .Os
 .Sh NAME
@@ -44,6 +44,10 @@ and LAN7800/LAN7801 USB 3.0 Gigabit Ethe
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+.Sh DIAGNOSTICS
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr ifmedia 4 ,
@@ -51,7 +55,8 @@ For more information on configuring this
 .Xr netintro 4 ,
 .Xr ukphy 4 ,
 .Xr usb 4 ,
-.\".Xr hostname.if 5 ,
+.Xr usbnet 4 ,
+.Xr ifconfig.if 5 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The
Index: src/share/man/man4/nfe.4
diff -u src/share/man/man4/nfe.4:1.4 src/share/man/man4/nfe.4:1.5
--- src/share/man/man4/nfe.4:1.4	Wed Nov 14 14:31:40 2007
+++ src/share/man/man4/nfe.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: nfe.4,v 1.4 2007/11/14 14:31:40 xtraeme Exp $
+.\"	$NetBSD: nfe.4,v 1.5 2019/08/30 08:54:58 mrg Exp $
 .\"	$OpenBSD: nfe.4,v 1.8 2006/03/04 04:35:24 jsg Exp $
 .\"
 .\" Copyright (c) 2006 Jonathan Gray <j...@openbsd.org>
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd November 14, 2007
+.Dd August 24 2019
 .Dt NFE 4
 .Os
 .Sh NAME
@@ -61,7 +61,7 @@ Set 1000Mbps (Gigabit Ethernet) operatio
 .Xr netintro 4 ,
 .Xr pci 4 ,
 .Xr rlphy 4 ,
-.\" .Xr hostname.if 5 ,
+.Xr ifconfig.if 5 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The
Index: src/share/man/man4/udav.4
diff -u src/share/man/man4/udav.4:1.4 src/share/man/man4/udav.4:1.5
--- src/share/man/man4/udav.4:1.4	Mon Apr 19 21:58:58 2010
+++ src/share/man/man4/udav.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: udav.4,v 1.4 2010/04/19 21:58:58 jmcneill Exp $
+.\"	$NetBSD: udav.4,v 1.5 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 2003
 .\"     Shingo WATANABE <n...@nabechan.org>. All rights reserved.
@@ -30,7 +30,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 19, 2010
+.Dd August 24 2019
 .Dt UDAV 4
 .Os
 .Sh NAME
@@ -59,10 +59,15 @@ adapters based on the Davicom DM9601 chi
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+.Sh DIAGNOSTICS
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Rs
 .%T Davicom DM9601 data sheet

Index: src/share/man/man4/umb.4
diff -u src/share/man/man4/umb.4:1.2 src/share/man/man4/umb.4:1.3
--- src/share/man/man4/umb.4:1.2	Wed Aug  1 17:28:42 2018
+++ src/share/man/man4/umb.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: umb.4,v 1.2 2018/08/01 17:28:42 wiz Exp $
+.\" $NetBSD: umb.4,v 1.3 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 2016 genua mbH
 .\"
@@ -14,7 +14,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd August 1, 2018
+.Dd August 24 2019
 .Dt UMB 4
 .Os
 .Sh NAME
@@ -56,7 +56,7 @@ The following devices should work:
 .Xr intro 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
-.\" .Xr hostname.if 5 ,
+.Xr ifconfig.if 5 ,
 .Xr ifconfig 8 ,
 .Xr umbctl 8
 .Rs

Index: src/share/man/man4/ure.4
diff -u src/share/man/man4/ure.4:1.3 src/share/man/man4/ure.4:1.4
--- src/share/man/man4/ure.4:1.3	Sat Feb  9 07:54:51 2019
+++ src/share/man/man4/ure.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: ure.4,v 1.3 2019/02/09 07:54:51 rin Exp $
+.\" $NetBSD: ure.4,v 1.4 2019/08/30 08:54:58 mrg Exp $
 .\" $OpenBSD: ure.4,v 1.5 2017/04/16 20:26:34 jmc Exp $
 .\"
 .\" Copyright (c) 2015 Kevin Lo <ke...@freebsd.org>
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD: head/share/man/man4/ure.4 291557 2015-12-01 05:12:13Z kevlo $
 .\"
-.Dd February 9, 2019
+.Dd August 24 2019
 .Dt URE 4
 .Os
 .Sh NAME
@@ -60,6 +60,10 @@ The RTL8153 has a Gigabit Ethernet MAC a
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+.Sh DIAGNOSTICS
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr ifmedia 4 ,
@@ -69,6 +73,7 @@ For more information on configuring this
 .Xr rlphy 4 ,
 .Xr uhub 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The

Index: src/share/man/man4/urndis.4
diff -u src/share/man/man4/urndis.4:1.6 src/share/man/man4/urndis.4:1.7
--- src/share/man/man4/urndis.4:1.6	Thu Aug  8 05:50:20 2019
+++ src/share/man/man4/urndis.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: urndis.4,v 1.6 2019/08/08 05:50:20 maya Exp $
+.\" $NetBSD: urndis.4,v 1.7 2019/08/30 08:54:58 mrg Exp $
 .\"
 .\" Copyright (c) 2010 Michael Knudsen <m...@openbsd.org>
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" $OpenBSD: urndis.4,v 1.11 2011/07/20 13:12:16 jasper Exp $
 .\"
-.Dd August 8, 2019
+.Dd August 24 2019
 .Dt URNDIS 4
 .Os
 .Sh NAME
@@ -74,11 +74,16 @@ The
 driver does not support different media types or options.
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+.Sh DIAGNOSTICS
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr intro 4 ,
 .Xr netintro 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig.if 5 ,
 .Xr ifconfig 8
 .Sh HISTORY

Index: src/share/man/man4/usmsc.4
diff -u src/share/man/man4/usmsc.4:1.1 src/share/man/man4/usmsc.4:1.2
--- src/share/man/man4/usmsc.4:1.1	Thu Jan 10 09:02:53 2013
+++ src/share/man/man4/usmsc.4	Fri Aug 30 08:54:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: usmsc.4,v 1.1 2013/01/10 09:02:53 skrll Exp $
+.\"	$NetBSD: usmsc.4,v 1.2 2019/08/30 08:54:58 mrg Exp $
 .\"	$OpenBSD: smsc.4,v 1.3 2012/09/20 07:40:26 jsg Exp $
 .\"
 .\" Copyright (c) 2012 Jonathan Gray <j...@openbsd.org>
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd January 9, 2013
+.Dd August 24 2019
 .Dt USMSC 4
 .Os
 .Sh NAME
@@ -47,6 +47,10 @@ Ethernet devices and LAN951x USB 2.0 hub
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8 .
+.Sh DIAGNOSTICS
+See
+.Xr usbnet 4
+for diagnostics.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr ifmedia 4 ,
@@ -55,6 +59,7 @@ For more information on configuring this
 .Xr uhub 4 ,
 .Xr ukphy 4 ,
 .Xr usb 4 ,
+.Xr usbnet 4 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The

Added files:

Index: src/share/man/man4/usbnet.4
diff -u /dev/null src/share/man/man4/usbnet.4:1.1
--- /dev/null	Fri Aug 30 08:54:58 2019
+++ src/share/man/man4/usbnet.4	Fri Aug 30 08:54:58 2019
@@ -0,0 +1,107 @@
+.\"	$NetBSD: usbnet.4,v 1.1 2019/08/30 08:54:58 mrg Exp $
+.\"
+.\" Copyright (c) 2019 Matthew R. Green
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. The name of the author may not be used to endorse or promote products
+.\"    derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.Dd August 24 2019
+.Dt USBNET 4
+.Os
+.Sh NAME
+.Nm usbnet
+.Nd generic USB network driver backend diagnostics
+.Sh DESCRIPTION
+The
+.Nm
+subsystem provides support for USB network devices.
+This manual describes diagnostics that may be seen.
+.Pp
+.Sh DIAGNOSTICS
+.Bl -tag width
+.It "devN: sysctl_createv failed"
+Unable to create debug node for
+.Nx .
+.It "devN: usb errors on rx"
+Error status from device upon Rx interrupt, device may be non-functional.
+.It "devN: usb error on tx"
+Error status from device upon Tx interrupt., device may be non-functional.
+.It "devN: usb error on intr"
+Error status from device upon interrupt, device may be non-functional.
+.It "devN: rxeof: too large transfer"
+Network input rejected.
+.It "devN: close pipe N"
+Closing of Rx, Tx or Interrupt pipe failed, device may be non-functional.
+.It "devN: open rx/tx pipes failed"
+Opening of Rx or Tx pipes failed, device non-functional.
+.It "devN: [rt]x list init failed"
+Creation of Rx or Tx list failed, device non-functional.
+.It "devN: watchdog timeout"
+Time out in transmission.
+.It "devN: pipe abort failed"
+Aborting USB pipes after watchdog timeout failed.
+.It "devN: if_initialize failed"
+Couldn't register network interface, device non-functional.
+.It "devN: couldn't establish power handler"
+Call to
+.Xr pmf_device_register 9
+failed, disabling system suspend.
+.El
+.Pp
+The
+.Xr usbnet 4
+manual lists generic diagnostics generated by USB network devices.
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr aue 4 ,
+.Xr axe 4 ,
+.Xr axen 4 ,
+.Xr cdce 4 ,
+.Xr cue 4 ,
+.Xr ifmedia 4 ,
+.Xr intro 4 ,
+.Xr kue 4 ,
+.\" Xr mos 4 ,
+.Xr mue 4 ,
+.Xr netintro 4 ,
+.Xr smsc 4 ,
+.Xr udav 4 ,
+.Xr upl 4 ,
+.Xr ure 4 ,
+.Xr url 4 ,
+.Xr urndis 4 ,
+.Xr usb 4 ,
+.Xr usbnet 4 ,
+.Xr usbnet 9
+.Sh HISTORY
+The
+.Nm
+framework first appeared in
+.Nx 9.0 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+framework was written by
+.An Matthew R. Green Aq Mt m...@eterna.com.au

Reply via email to