xref: /openbsd/share/man/man4/mos.4 (revision d415bd75)
1.\" Copyright (c) 1997, 1998, 1999, 2000-2003
2.\"	Bill Paul <wpaul@windriver.com>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\"    must display the following acknowledgement:
14.\"	This product includes software developed by Bill Paul.
15.\" 4. Neither the name of the author nor the names of any co-contributors
16.\"    may be used to endorse or promote products derived from this software
17.\"   without specific prior written permission.
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29.\" THE POSSIBILITY OF SUCH DAMAGE.
30.\"
31.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/axe.4,v 1.3 2003/05/29 21:28:35 ru Exp $
32.\" $OpenBSD: mos.4,v 1.12 2022/02/18 10:24:32 jsg Exp $
33.\"
34.Dd $Mdocdate: February 18 2022 $
35.Dt MOS 4
36.Os
37.Sh NAME
38.Nm mos
39.Nd MosChip MCS7730/7830/7832 10/100 USB Ethernet device
40.Sh SYNOPSIS
41.Cd "mos*   at uhub?"
42.Sh DESCRIPTION
43The
44.Nm
45driver provides support for USB Ethernet adapters based on the MosChip
46MCS7730, MCS7830 and MCS7832 USB 2.0 chipsets, including the
47following:
48.Pp
49.Bl -tag -width Ds -offset indent -compact
50.It Delock 61147
51.It Sitecom LN-030
52.It Syba SY-U2LAN
53.El
54.Pp
55All adapters operate with either USB 1.x or USB 2.0 controllers,
56though performance with 1.x controllers is limited since
57the USB 1.x standard specifies a maximum transfer speed of 12Mbps.
58Users with USB 1.x controllers should therefore not expect to actually
59achieve 100Mbps speeds with these devices.
60.Pp
61A 64-bit multicast hash table is supported,
62single perfect filter entry for the station address,
63all-multicast mode, and promiscuous mode.
64Packets are
65received and transmitted over separate USB bulk transfer endpoints.
66.Pp
67The
68.Nm
69driver supports the following media types:
70.Bl -tag -width "autoselect"
71.It autoselect
72Enable autoselection of the media type and options (this is the default).
73The user can manually override the autoselected mode by adding media
74options to the appropriate
75.Xr hostname.if 5
76file.
77.It 10baseT
78Set 10Mbps operation.
79.It 100baseTX
80Set 100Mbps (Fast Ethernet) operation.
81.El
82.Pp
83The
84.Nm
85driver supports the following media options:
86.Bl -tag -width "full-duplex"
87.It full-duplex
88Force full-duplex operation.
89.It half-duplex
90Force half-duplex operation.
91.El
92.Pp
93For more information on configuring this device, see
94.Xr ifconfig 8 .
95.Sh DIAGNOSTICS
96.Bl -diag
97.It "mos0: watchdog timeout"
98A packet was queued for transmission and a transmit command was
99issued, however the device failed to acknowledge the transmission
100before a timeout expired.
101.It "mos0: no memory for rx list"
102The driver failed to allocate an mbuf for the receiver ring.
103.El
104.Sh SEE ALSO
105.Xr arp 4 ,
106.Xr ifmedia 4 ,
107.Xr intro 4 ,
108.Xr netintro 4 ,
109.Xr usb 4 ,
110.Xr hostname.if 5 ,
111.Xr ifconfig 8
112.Rs
113.%T "MosChip India"
114.%U https://moschip.com
115.Re
116.Sh HISTORY
117The
118.Nm
119device driver first appeared in
120.Ox 4.5 .
121.Sh AUTHORS
122.An -nosplit
123The
124.Nm
125driver was written by
126.An Johann Christian Rode Aq Mt jcrode@gmx.net .
127