xref: /dragonfly/share/man/man4/mos.4 (revision c69bf40f)
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: head/share/man/man4/mos.4 233648 2012-03-29 05:02:12Z eadler $
17.\"
18.Dd November 3, 2014
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 ifmedia 4 ,
81.Xr miibus 4 ,
82.Xr netintro 4 ,
83.Xr ng_ether 4 ,
84.Xr ifconfig 8
85.Rs
86.%T ADMtek AN986 data sheet
87.%O http://www.moschip.com/data/products/MCS7830/Data%20Sheet_7830.pdf
88.Re
89.Sh HISTORY
90The
91.Nm
92device driver first appeared in
93.Fx 8.2 .
94.Sh AUTHORS
95The
96.Nm
97driver was written by
98.An Rick van der Zwet Aq Mt info@rickvanderzwet.nl .
99