xref: /openbsd-src/share/man/man4/mos.4 (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
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.3 2008/11/03 00:02:48 jsg Exp $
33.\"
34.Dd $Mdocdate: November 3 2008 $
35.Dt MOS 4
36.Os
37.Sh NAME
38.Nm mos
39.Nd MOSCHIP MCS7730/7830 10/100 USB 2.0 Ethernet device
40.Sh SYNOPSIS
41.Cd "mos*   at uhub?"
42.Cd "ukphy* at mii?"
43.Sh DESCRIPTION
44The
45.Nm
46driver provides support for USB Ethernet adapters based on the Moschip
47MCS7730 and MCS7830 USB 2.0 chipsets, including the
48following:
49.Pp
50.Bl -tag -width Ds -offset indent -compact
51.It Delock 61147
52.It Sitecom LN-030
53.It Syba SY-U2LAN
54.El
55.Pp
56All adapters operate with either USB 1.x or USB 2.0 controllers,
57though performance with 1.x controllers is limited since
58the USB 1.x standard specifies a maximum transfer speed of 12Mbps.
59Users with USB 1.x controllers should therefore not expect to actually
60achieve 100Mbps speeds with these devices.
61.Pp
62A 64-bit multicast hash table is supported,
63single perfect filter entry for the station address,
64all-multicast mode, and promiscuous mode.
65Packets are
66received and transmitted over separate USB bulk transfer endpoints.
67.Pp
68The
69.Nm
70driver supports the following media types:
71.Bl -tag -width "autoselect"
72.It autoselect
73Enable autoselection of the media type and options (this is the default).
74The user can manually override the autoselected mode by adding media
75options to the appropriate
76.Xr hostname.if 5
77file.
78.It 10baseT
79Set 10Mbps operation.
80.It 100baseTX
81Set 100Mbps (Fast Ethernet) operation.
82.El
83.Pp
84The
85.Tm
86driver supports the following media options:
87.Bl -tag -width "full-duplex"
88.It full-duplex
89Force full-duplex operation.
90.It half-duplex
91Force half-duplex operation.
92.El
93.Pp
94For more information on configuring this device, see
95.Xr ifconfig 8 .
96.Sh DIAGNOSTICS
97.Bl -diag
98.It "mos%d: watchdog timeout"
99A packet was queued for transmission and a transmit command was
100issued, however the device failed to acknowledge the transmission
101before a timeout expired.
102.It "mos%d: no memory for rx list"
103The driver failed to allocate an mbuf for the receiver ring.
104.El
105.Sh SEE ALSO
106.Xr arp 4 ,
107.Xr ifmedia 4 ,
108.Xr intro 4 ,
109.Xr netintro 4 ,
110.Xr rlphy 4 ,
111.Xr ukphy 4 ,
112.Xr usb 4 ,
113.Xr hostname.if 5 ,
114.Xr ifconfig 8
115.Rs
116.%T "Moschip India"
117.%O http://www.moschip.com
118.Re
119.Sh HISTORY
120The
121.Nm
122device driver first appeared in
123.Ox 4.5 .
124.Sh AUTHORS
125.An -nosplit
126The
127.Nm
128driver was written by
129.An Johann Christian Rode Aq jcrode@gmx.net .
130