xref: /freebsd/share/man/man4/mos.4 (revision d2ce15bd43b3a1dcce08eecbff8d5d359946d972)
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.\" $FreeBSD$
17.\"
18.Dd February 14, 2011
19.Dt MOS 4
20.Os
21.Sh NAME
22.Nm mos
23.Nd Moschip MCS7730/MCS7830/MCS7832 USB Ethernet driver
24.Sh SYNOPSIS
25To compile this driver into the kernel,
26place the following lines in your
27kernel configuration file:
28.Bd -ragged -offset indent
29.Cd "device uhci"
30.Cd "device ohci"
31.Cd "device ehci"
32.Cd "device usb"
33.Cd "device miibus"
34.Cd "device mos"
35.Ed
36.Pp
37Alternatively, to load the driver as a
38module at boot time, place the following line in
39.Xr loader.conf 5 :
40.Bd -literal -offset indent
41if_mos_load="YES"
42.Ed
43.Sh DESCRIPTION
44The
45.Nm
46driver provides support for USB Ethernet adapters based on the
47Moschip MCS7730/MCS7830/MCS7832 chipset.
48.Pp
49The adapters that contain the Moschip MCS7730/MCS7830/MCS7832 chipset
50will operate at 100Base-TX and full-duplex.
51.Pp
52The Moschip contains a 10/100
53Ethernet MAC with MII interface and is designed to work with both
54Ethernet and HomePNA transceivers.
55Although designed to interface with
56100Mbps peripherals, this only works with USB 2.0. The existing USB 1.0
57standard specifies a maximum transfer speed of 12Mbps.
58USB 1.0 Users should therefore not expect to actually achieve 100Mbps speeds
59with these devices.
60.Pp
61The Moschip supports a 64-bit multicast hash table, single perfect
62filter entry for the station address and promiscuous mode.
63Packets are
64received and transmitted over separate USB bulk transfer endpoints.
65.Pp
66For more information on configuring this device, see
67.Xr ifconfig 8 .
68.Sh HARDWARE
69Adapters supported by the
70.Nm
71driver include:
72.Pp
73.Bl -bullet -compact
74.It
75Sitecom LN030
76.El
77.Sh SEE ALSO
78.Xr altq 4 ,
79.Xr arp 4 ,
80.Xr miibus 4 ,
81.Xr netintro 4 ,
82.Xr ng_ether 4 ,
83.Xr ifconfig 8
84.Rs
85.%T ADMtek AN986 data sheet
86.%O http://www.moschip.com/data/products/MCS7830/Data%20Sheet_7830.pdf
87.Re
88.Sh HISTORY
89The
90.Nm
91device driver first appeared in
92.Fx 8.2 .
93.Sh AUTHORS
94The
95.Nm
96driver was written by
97.An Rick van der Zwet info@rickvanderzwet.nl .
98