xref: /freebsd/share/man/man4/axe.4 (revision 884a2a699669ec61e2366e3e358342dbc94be24a)
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$
32.\"
33.Dd January 16, 2011
34.Dt AXE 4
35.Os
36.Sh NAME
37.Nm axe
38.Nd "ASIX Electronics AX88172/178/772 USB Ethernet driver"
39.Sh SYNOPSIS
40To compile this driver into the kernel,
41place the following lines in your
42kernel configuration file:
43.Bd -ragged -offset indent
44.Cd "device ehci"
45.Cd "device uhci"
46.Cd "device ohci"
47.Cd "device usb"
48.Cd "device miibus"
49.Cd "device axe"
50.Ed
51.Pp
52Alternatively, to load the driver as a
53module at boot time, place the following line in
54.Xr loader.conf 5 :
55.Bd -literal -offset indent
56if_axe_load="YES"
57.Ed
58.Sh DESCRIPTION
59The
60.Nm
61driver provides support for USB Ethernet adapters based on the ASIX
62Electronics AX88172, AX88178 and AX88772 USB 2.0 chipsets.
63.Pp
64The AX88172 and AX88178 are USB 2.0 devices that contain a 10/100
65Ethernet MAC with MII interface and are designed to work with both
66Ethernet and HomePNA transceivers.
67The AX88772 will additionally support 10/100/1000 MACs.
68.Pp
69These devices will operate with
70both USB 1.x and USB 2.0 controllers, however performance with 1.x
71controllers will be limited since the USB 1.x standard specifies a
72maximum transfer speed of 12Mbps.
73Users with USB 1.x controllers should therefore not expect to actually
74achieve 100Mbps speeds with these devices.
75.Pp
76All chipsets support a 64-bit multicast hash table, single perfect
77filter entry for the station address, all-multicast mode and promiscuous mode.
78Packets are
79received and transmitted over separate USB bulk transfer endpoints.
80.Pp
81The
82.Nm
83driver supports the following media types:
84.Bl -tag -width ".Cm 10baseT/UTP"
85.It Cm autoselect
86Enable autoselection of the media type and options.
87The user can manually override
88the autoselected mode by adding media options to the
89.Pa /etc/rc.conf
90file.
91.It Cm 10baseT/UTP
92Set 10Mbps operation.
93The
94.Cm mediaopt
95option can also be used to enable
96.Cm full-duplex
97operation.
98Not specifying
99.Cm full-duplex
100implies
101.Cm half-duplex
102mode.
103.It Cm 100baseTX
104Set 100Mbps (Fast Ethernet) operation.
105The
106.Cm mediaopt
107option can also be used to enable
108.Cm full-duplex
109operation.
110Not specifying
111.Cm full-duplex
112implies
113.Cm half-duplex
114mode.
115.El
116.Pp
117The
118.Nm
119driver supports the following media options:
120.Bl -tag -width ".Cm 10baseT/UTP"
121.It Cm full-duplex
122Force full duplex operation.
123The interface will operate in
124half duplex mode if this media option is not specified.
125.El
126.Pp
127For more information on configuring this device, see
128.Xr ifconfig 8 .
129.Sh HARDWARE
130The
131.Nm
132driver supports ASIX Electronics AX88172/AX88178/AX88772 based USB Ethernet
133adapters including:
134.Pp
135AX88172:
136.Bl -bullet -compact
137.It
138AboCom UF200
139.It
140Acer Communications EP1427X2
141.It
142ATen UC210T
143.It
144Billionton SnapPort
145.It
146Billionton USB2AR
147.It
148Buffalo (Melco Inc.) LUA-U2-KTX
149.It
150Corega USB2_TX
151.It
152D-Link DUBE100
153.It
154Goodway GWUSB2E
155.It
156JVC MP_PRX1
157.It
158LinkSys USB200M
159.It
160Netgear FA120
161.It
162Sitecom LN-029
163.It
164System TALKS Inc.\& SGC-X2UL
165.El
166.Pp
167AX88178:
168.Bl -bullet -compact
169.It
170Belkin F5D5055
171.It
172Logitec LAN-GTJ/U2A
173.It
174Buffalo (Melco Inc.) LUA3-U2-AGT
175.It
176Planex Communications GU1000T
177.It
178Sitecom Europe LN-028
179.El
180.Pp
181AX88772:
182.Bl -bullet -compact
183.It
184Buffalo (Melco Inc.) LUA3-U2-ATX
185.It
186Cisco-Linksys USB200Mv2
187.It
188D-Link DUBE100B1
189.It
190Planex UE-200TX-G
191.It
192Planex UE-200TX-G2
193.El
194.Sh DIAGNOSTICS
195.Bl -diag
196.It "axe%d: watchdog timeout"
197A packet was queued for transmission and a transmit command was
198issued, however the device failed to acknowledge the transmission
199before a timeout expired.
200.It "axe%d: no memory for rx list"
201The driver failed to allocate an mbuf for the receiver ring.
202.El
203.Sh SEE ALSO
204.Xr altq 4 ,
205.Xr arp 4 ,
206.Xr miibus 4 ,
207.Xr netintro 4 ,
208.Xr ng_ether 4 ,
209.Xr rgephy 4 ,
210.Xr ifconfig 8
211.Rs
212.%T "ASIX AX88172 AX88178 and AX88772 data sheets"
213.%U http://www.asix.com.tw
214.Re
215.Sh HISTORY
216The
217.Nm
218device driver first appeared in
219.Fx 5.0 .
220.Sh AUTHORS
221The
222.Nm
223driver was written by
224.An Bill Paul Aq wpaul@windriver.com .
225