git: 9front

Download patch

ref: 9cd8436874c1ea9ca29dc90a220a2eccd4c5a516
parent: 1448d81f851ce1d468ebe6bef7b91491b995f919
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Thu Dec 6 18:17:18 EST 2012

nusb(4): document new nusb/ether options

--- a/sys/man/4/nusb
+++ b/sys/man/4/nusb
@@ -20,6 +20,12 @@
 .B nusb/ether
 [
 .B -dD
+] [
+.B -t
+.I ethertype
+] [
+.B -a
+.I addr
 ]
 .I devid
 .PP
@@ -157,6 +163,24 @@
 .IR nusbrc (8)
 so the device will appear as
 .BI /net/etherU N .
+Without specifying the
+.B -t
+option, the device is assumed to be a CDC compliant ethernet
+communication device. Other devices might require setting an
+explicit
+.IR ethertype
+such as
+.BR smsc ,
+.B a88772
+or
+.B a88178
+see
+.IR nusbrc (8).
+On devices that support it, the mac address can be set using
+the
+.B -a
+.IR addr
+option.
 .SS Serial and JTAG ports
 .I Serial
 provides a file system (usually seen under
--