xref: /freebsd/share/man/man4/axe.4 (revision 4cef18505db58d10cdeef2dac4bbf351d516fccf)
187b4a259SBill Paul.\" Copyright (c) 1997, 1998, 1999, 2000-2003
287b4a259SBill Paul.\"	Bill Paul <wpaul@windriver.com>. All rights reserved.
387b4a259SBill Paul.\"
487b4a259SBill Paul.\" Redistribution and use in source and binary forms, with or without
587b4a259SBill Paul.\" modification, are permitted provided that the following conditions
687b4a259SBill Paul.\" are met:
787b4a259SBill Paul.\" 1. Redistributions of source code must retain the above copyright
887b4a259SBill Paul.\"    notice, this list of conditions and the following disclaimer.
987b4a259SBill Paul.\" 2. Redistributions in binary form must reproduce the above copyright
1087b4a259SBill Paul.\"    notice, this list of conditions and the following disclaimer in the
1187b4a259SBill Paul.\"    documentation and/or other materials provided with the distribution.
1287b4a259SBill Paul.\" 3. All advertising materials mentioning features or use of this software
1387b4a259SBill Paul.\"    must display the following acknowledgement:
1487b4a259SBill Paul.\"	This product includes software developed by Bill Paul.
1587b4a259SBill Paul.\" 4. Neither the name of the author nor the names of any co-contributors
1687b4a259SBill Paul.\"    may be used to endorse or promote products derived from this software
1787b4a259SBill Paul.\"   without specific prior written permission.
1887b4a259SBill Paul.\"
1987b4a259SBill Paul.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
2087b4a259SBill Paul.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2187b4a259SBill Paul.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2287b4a259SBill Paul.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
2387b4a259SBill Paul.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2487b4a259SBill Paul.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2587b4a259SBill Paul.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2687b4a259SBill Paul.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2787b4a259SBill Paul.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2887b4a259SBill Paul.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
2987b4a259SBill Paul.\" THE POSSIBILITY OF SUCH DAMAGE.
3087b4a259SBill Paul.\"
3187b4a259SBill Paul.\" $FreeBSD$
3287b4a259SBill Paul.\"
33*4cef1850SPyun YongHyeon.Dd July 14, 2011
3487b4a259SBill Paul.Dt AXE 4
3587b4a259SBill Paul.Os
3687b4a259SBill Paul.Sh NAME
3787b4a259SBill Paul.Nm axe
38*4cef1850SPyun YongHyeon.Nd "ASIX Electronics AX88x7x/760 USB Ethernet driver"
3987b4a259SBill Paul.Sh SYNOPSIS
4016d78bb8STom RhodesTo compile this driver into the kernel,
4116d78bb8STom Rhodesplace the following lines in your
4290296834STom Rhodeskernel configuration file:
4386e3186eSTom Rhodes.Bd -ragged -offset indent
4487b4a259SBill Paul.Cd "device ehci"
4587b4a259SBill Paul.Cd "device uhci"
4687b4a259SBill Paul.Cd "device ohci"
4787b4a259SBill Paul.Cd "device usb"
4887b4a259SBill Paul.Cd "device miibus"
4987b4a259SBill Paul.Cd "device axe"
5086e3186eSTom Rhodes.Ed
5186e3186eSTom Rhodes.Pp
5216d78bb8STom RhodesAlternatively, to load the driver as a
5316d78bb8STom Rhodesmodule at boot time, place the following line in
5486e3186eSTom Rhodes.Xr loader.conf 5 :
5586e3186eSTom Rhodes.Bd -literal -offset indent
5686e3186eSTom Rhodesif_axe_load="YES"
5786e3186eSTom Rhodes.Ed
5887b4a259SBill Paul.Sh DESCRIPTION
5987b4a259SBill PaulThe
6087b4a259SBill Paul.Nm
61a173ee89SChristian Bruefferdriver provides support for USB Ethernet adapters based on the ASIX
62*4cef1850SPyun YongHyeonElectronics AX88172, AX88178, AX88772, AX88772A, AX88772B and AX88760
63*4cef1850SPyun YongHyeonUSB 2.0 chipsets.
6487b4a259SBill Paul.Pp
65*4cef1850SPyun YongHyeonThe AX88172, AX88772, AX88772A, AX88772B and AX88760 contain a 10/100
660da18a26SSam LefflerEthernet MAC with MII interface and are designed to work with both
67a173ee89SChristian BruefferEthernet and HomePNA transceivers.
68*4cef1850SPyun YongHyeonThe AX88178 has a 10/100/1000 Ethernet MAC with GMII/RGMII interface
69*4cef1850SPyun YongHyeonfor interfacing with Gigabit Ethernet PHY.
700da18a26SSam Leffler.Pp
710da18a26SSam LefflerThese devices will operate with
72c48524c2SMike Pritchardboth USB 1.x and USB 2.0 controllers, however performance with 1.x
73c48524c2SMike Pritchardcontrollers will be limited since the USB 1.x standard specifies a
7487b4a259SBill Paulmaximum transfer speed of 12Mbps.
7587b4a259SBill PaulUsers with USB 1.x controllers should therefore not expect to actually
7687b4a259SBill Paulachieve 100Mbps speeds with these devices.
7787b4a259SBill Paul.Pp
780da18a26SSam LefflerAll chipsets support a 64-bit multicast hash table, single perfect
7987b4a259SBill Paulfilter entry for the station address, all-multicast mode and promiscuous mode.
8087b4a259SBill PaulPackets are
8187b4a259SBill Paulreceived and transmitted over separate USB bulk transfer endpoints.
8287b4a259SBill Paul.Pp
8387b4a259SBill PaulThe
8487b4a259SBill Paul.Nm
8587b4a259SBill Pauldriver supports the following media types:
86bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP"
87bc9a9cb4SRuslan Ermilov.It Cm autoselect
8887b4a259SBill PaulEnable autoselection of the media type and options.
8987b4a259SBill PaulThe user can manually override
90*4cef1850SPyun YongHyeonthe autoselected mode by adding media options to
91*4cef1850SPyun YongHyeon.Xr rc.conf 5 .
92bc9a9cb4SRuslan Ermilov.It Cm 10baseT/UTP
9387b4a259SBill PaulSet 10Mbps operation.
9487b4a259SBill PaulThe
95*4cef1850SPyun YongHyeon.Xr ifconfig 8
96bc9a9cb4SRuslan Ermilov.Cm mediaopt
97*4cef1850SPyun YongHyeonoption can also be used to select either
98bc9a9cb4SRuslan Ermilov.Cm full-duplex
99*4cef1850SPyun YongHyeonor
100bc9a9cb4SRuslan Ermilov.Cm half-duplex
101*4cef1850SPyun YongHyeonmodes.
102bc9a9cb4SRuslan Ermilov.It Cm 100baseTX
103a173ee89SChristian BruefferSet 100Mbps (Fast Ethernet) operation.
10487b4a259SBill PaulThe
105*4cef1850SPyun YongHyeon.Xr ifconfig 8
106bc9a9cb4SRuslan Ermilov.Cm mediaopt
107*4cef1850SPyun YongHyeonoption can also be used to select either
108bc9a9cb4SRuslan Ermilov.Cm full-duplex
109*4cef1850SPyun YongHyeonor
110bc9a9cb4SRuslan Ermilov.Cm half-duplex
111*4cef1850SPyun YongHyeonmodes.
112*4cef1850SPyun YongHyeon.It Cm 1000baseT
113*4cef1850SPyun YongHyeonSet 1000Mbps (Gigabit Ethernet) operation (AX88178 only).
114*4cef1850SPyun YongHyeonThe
115*4cef1850SPyun YongHyeon.Xr ifconfig 8
116*4cef1850SPyun YongHyeon.Cm mediaopt
117*4cef1850SPyun YongHyeonoption can also be used to select either
118*4cef1850SPyun YongHyeon.Cm full-duplex
119*4cef1850SPyun YongHyeonor
120*4cef1850SPyun YongHyeon.Cm half-duplex
121*4cef1850SPyun YongHyeonmodes.
12287b4a259SBill Paul.El
12387b4a259SBill Paul.Pp
12487b4a259SBill PaulThe
12587b4a259SBill Paul.Nm
12687b4a259SBill Pauldriver supports the following media options:
127*4cef1850SPyun YongHyeon.Bl -tag -width ".Cm full-duplex"
128bc9a9cb4SRuslan Ermilov.It Cm full-duplex
12987b4a259SBill PaulForce full duplex operation.
130*4cef1850SPyun YongHyeon.It Cm half-duplex
131*4cef1850SPyun YongHyeonForce half duplex operation.
13287b4a259SBill Paul.El
13387b4a259SBill Paul.Pp
13487b4a259SBill PaulFor more information on configuring this device, see
13587b4a259SBill Paul.Xr ifconfig 8 .
136a173ee89SChristian Brueffer.Sh HARDWARE
137a173ee89SChristian BruefferThe
138a173ee89SChristian Brueffer.Nm
139*4cef1850SPyun YongHyeondriver supports ASIX Electronics AX88172/AX88178/AX88772/AX88772A/AX88772B/AX88760
140*4cef1850SPyun YongHyeonbased USB Ethernet adapters including:
141a173ee89SChristian Brueffer.Pp
1420da18a26SSam LefflerAX88172:
143a173ee89SChristian Brueffer.Bl -bullet -compact
144a173ee89SChristian Brueffer.It
1450da18a26SSam LefflerAboCom UF200
1460da18a26SSam Leffler.It
1470da18a26SSam LefflerAcer Communications EP1427X2
1480da18a26SSam Leffler.It
149*4cef1850SPyun YongHyeonASIX AX88172
150*4cef1850SPyun YongHyeon.It
1510da18a26SSam LefflerATen UC210T
1520da18a26SSam Leffler.It
1530da18a26SSam LefflerBillionton SnapPort
1540da18a26SSam Leffler.It
1550da18a26SSam LefflerBillionton USB2AR
1560da18a26SSam Leffler.It
157a173ee89SChristian BruefferBuffalo (Melco Inc.) LUA-U2-KTX
158a173ee89SChristian Brueffer.It
1590da18a26SSam LefflerCorega USB2_TX
1600da18a26SSam Leffler.It
1610da18a26SSam LefflerD-Link DUBE100
1620da18a26SSam Leffler.It
1630da18a26SSam LefflerGoodway GWUSB2E
1640da18a26SSam Leffler.It
1650da18a26SSam LefflerJVC MP_PRX1
166a173ee89SChristian Brueffer.It
167a173ee89SChristian BruefferLinkSys USB200M
168a173ee89SChristian Brueffer.It
169a173ee89SChristian BruefferNetgear FA120
170a173ee89SChristian Brueffer.It
1713d634dbaSSimon L. B. NielsenSitecom LN-029
1723d634dbaSSimon L. B. Nielsen.It
173da2fa159SRuslan ErmilovSystem TALKS Inc.\& SGC-X2UL
174a173ee89SChristian Brueffer.El
1750da18a26SSam Leffler.Pp
1760da18a26SSam LefflerAX88178:
1770da18a26SSam Leffler.Bl -bullet -compact
1780da18a26SSam Leffler.It
179*4cef1850SPyun YongHyeonASIX AX88178
180*4cef1850SPyun YongHyeon.It
1810da18a26SSam LefflerBelkin F5D5055
1820da18a26SSam Leffler.It
18387b6f185SMIHIRA Sanpei YoshiroLogitec LAN-GTJ/U2A
18487b6f185SMIHIRA Sanpei Yoshiro.It
18587b6f185SMIHIRA Sanpei YoshiroBuffalo (Melco Inc.) LUA3-U2-AGT
18687b6f185SMIHIRA Sanpei Yoshiro.It
1870da18a26SSam LefflerPlanex Communications GU1000T
1880da18a26SSam Leffler.It
1890da18a26SSam LefflerSitecom Europe LN-028
1900da18a26SSam Leffler.El
1910da18a26SSam Leffler.Pp
1920da18a26SSam LefflerAX88772:
1930da18a26SSam Leffler.Bl -bullet -compact
1940da18a26SSam Leffler.It
195*4cef1850SPyun YongHyeonASIX AX88772
1964c394c18SMIHIRA Sanpei Yoshiro.It
197*4cef1850SPyun YongHyeonBuffalo (Melco Inc.) LUA3-U2-ATX
1980da18a26SSam Leffler.It
1990da18a26SSam LefflerD-Link DUBE100B1
2005696dee9SMIHIRA Sanpei Yoshiro.It
2015696dee9SMIHIRA Sanpei YoshiroPlanex UE-200TX-G
202081915ddSMIHIRA Sanpei Yoshiro.It
203081915ddSMIHIRA Sanpei YoshiroPlanex UE-200TX-G2
2040da18a26SSam Leffler.El
205*4cef1850SPyun YongHyeon.Pp
206*4cef1850SPyun YongHyeonAX88772A:
207*4cef1850SPyun YongHyeon.Bl -bullet -compact
208*4cef1850SPyun YongHyeon.It
209*4cef1850SPyun YongHyeonASIX AX88772A
210*4cef1850SPyun YongHyeon.It
211*4cef1850SPyun YongHyeonCisco-Linksys USB200Mv2
212*4cef1850SPyun YongHyeon.El
213*4cef1850SPyun YongHyeon.Pp
214*4cef1850SPyun YongHyeonAX88772B:
215*4cef1850SPyun YongHyeon.Bl -bullet -compact
216*4cef1850SPyun YongHyeon.It
217*4cef1850SPyun YongHyeonASIX AX88772B
218*4cef1850SPyun YongHyeon.El
219*4cef1850SPyun YongHyeon.Pp
220*4cef1850SPyun YongHyeonAX88760:
221*4cef1850SPyun YongHyeon.Bl -bullet -compact
222*4cef1850SPyun YongHyeon.It
223*4cef1850SPyun YongHyeonASIX AX88760
224*4cef1850SPyun YongHyeon.El
225*4cef1850SPyun YongHyeon.It
22687b4a259SBill Paul.Sh DIAGNOSTICS
22787b4a259SBill Paul.Bl -diag
22887b4a259SBill Paul.It "axe%d: watchdog timeout"
22987b4a259SBill PaulA packet was queued for transmission and a transmit command was
23087b4a259SBill Paulissued, however the device failed to acknowledge the transmission
23187b4a259SBill Paulbefore a timeout expired.
23287b4a259SBill Paul.It "axe%d: no memory for rx list"
23387b4a259SBill PaulThe driver failed to allocate an mbuf for the receiver ring.
23487b4a259SBill Paul.El
23587b4a259SBill Paul.Sh SEE ALSO
2361ff08d5fSChristian Brueffer.Xr altq 4 ,
23787b4a259SBill Paul.Xr arp 4 ,
23887b4a259SBill Paul.Xr miibus 4 ,
23987b4a259SBill Paul.Xr netintro 4 ,
24087b4a259SBill Paul.Xr ng_ether 4 ,
241b9a14a5eSMarius Strobl.Xr rgephy 4 ,
24287b4a259SBill Paul.Xr ifconfig 8
24387b4a259SBill Paul.Rs
244*4cef1850SPyun YongHyeon.%T "ASIX AX88x7x and AX88760 data sheets"
245aa4a335bSRuslan Ermilov.%U http://www.asix.com.tw
24687b4a259SBill Paul.Re
24787b4a259SBill Paul.Sh HISTORY
24887b4a259SBill PaulThe
24987b4a259SBill Paul.Nm
25087b4a259SBill Pauldevice driver first appeared in
25187b4a259SBill Paul.Fx 5.0 .
25287b4a259SBill Paul.Sh AUTHORS
25387b4a259SBill PaulThe
25487b4a259SBill Paul.Nm
25587b4a259SBill Pauldriver was written by
25687b4a259SBill Paul.An Bill Paul Aq wpaul@windriver.com .
257