summaryrefslogtreecommitdiff
path: root/sys/man/4/nusb
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-12-06 23:17:18 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-12-06 23:17:18 +0100
commit04fd67ab064978a9e7bf1b7c88c476fe4a894faf (patch)
treeec2b5e0cd75b8b5037d737e790763f0d7cb62e69 /sys/man/4/nusb
parent23239adf54d11628c1263df067b892130d67650b (diff)
nusb(4): document new nusb/ether options
Diffstat (limited to 'sys/man/4/nusb')
-rw-r--r--sys/man/4/nusb24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/man/4/nusb b/sys/man/4/nusb
index d802d0dd4..427e424c6 100644
--- a/sys/man/4/nusb
+++ b/sys/man/4/nusb
@@ -20,6 +20,12 @@ usbd - Universal Serial Bus drivers
.B nusb/ether
[
.B -dD
+] [
+.B -t
+.I ethertype
+] [
+.B -a
+.I addr
]
.I devid
.PP
@@ -157,6 +163,24 @@ by
.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