xref: /freebsd/share/man/man4/mos.4 (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1.\"
2.\" Copyright (c) 2011 Rick van der Zwet <info@rickvanderzwet.nl>
3.\"
4.\" Permission to use, copy, modify, and distribute this software for any
5.\" purpose with or without fee is hereby granted, provided that the above
6.\" copyright notice and this permission notice appear in all copies.
7.\"
8.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15.\"
16.Dd November 24, 2015
17.Dt MOS 4
18.Os
19.Sh NAME
20.Nm mos
21.Nd Moschip MCS7730/MCS7830/MCS7832 USB Ethernet driver
22.Sh SYNOPSIS
23To compile this driver into the kernel,
24place the following lines in your
25kernel configuration file:
26.Bd -ragged -offset indent
27.Cd "device uhci"
28.Cd "device ohci"
29.Cd "device ehci"
30.Cd "device usb"
31.Cd "device miibus"
32.Cd "device uether"
33.Cd "device mos"
34.Ed
35.Pp
36Alternatively, to load the driver as a
37module at boot time, place the following line in
38.Xr loader.conf 5 :
39.Bd -literal -offset indent
40if_mos_load="YES"
41.Ed
42.Sh DESCRIPTION
43The
44.Nm
45driver provides support for USB Ethernet adapters based on the
46Moschip MCS7730/MCS7830/MCS7832 chipset.
47.Pp
48The adapters that contain the Moschip MCS7730/MCS7830/MCS7832 chipset
49will operate at 100Base-TX and full-duplex.
50.Pp
51The Moschip contains a 10/100
52Ethernet MAC with MII interface and is designed to work with both
53Ethernet and HomePNA transceivers.
54Although designed to interface with
55100Mbps peripherals, this only works with USB 2.0. The existing USB 1.0
56standard specifies a maximum transfer speed of 12Mbps.
57USB 1.0 Users should therefore not expect to actually achieve 100Mbps speeds
58with these devices.
59.Pp
60The Moschip supports a 64-bit multicast hash table, single perfect
61filter entry for the station address and promiscuous mode.
62Packets are
63received and transmitted over separate USB bulk transfer endpoints.
64.Pp
65For more information on configuring this device, see
66.Xr ifconfig 8 .
67.Sh HARDWARE
68Adapters supported by the
69.Nm
70driver include:
71.Pp
72.Bl -bullet -compact
73.It
74Sitecom LN030
75.El
76.Sh SEE ALSO
77.Xr altq 4 ,
78.Xr arp 4 ,
79.Xr miibus 4 ,
80.Xr netintro 4 ,
81.Xr ng_ether 4 ,
82.Xr ifconfig 8
83.Rs
84.%T ADMtek AN986 data sheet
85.%O http://www.moschip.com/data/products/MCS7830/Data%20Sheet_7830.pdf
86.Re
87.Sh HISTORY
88The
89.Nm
90device driver first appeared in
91.Fx 8.2 .
92.Sh AUTHORS
93The
94.Nm
95driver was written by
96.An Rick van der Zwet info@rickvanderzwet.nl .
97