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.\" 31*ff6b30b9SKevin Lo.Dd November 24, 2015 3287b4a259SBill Paul.Dt AXE 4 3387b4a259SBill Paul.Os 3487b4a259SBill Paul.Sh NAME 3587b4a259SBill Paul.Nm axe 364cef1850SPyun YongHyeon.Nd "ASIX Electronics AX88x7x/760 USB Ethernet driver" 3787b4a259SBill Paul.Sh SYNOPSIS 3816d78bb8STom RhodesTo compile this driver into the kernel, 3916d78bb8STom Rhodesplace the following lines in your 4090296834STom Rhodeskernel configuration file: 4186e3186eSTom Rhodes.Bd -ragged -offset indent 4287b4a259SBill Paul.Cd "device ehci" 4387b4a259SBill Paul.Cd "device uhci" 4487b4a259SBill Paul.Cd "device ohci" 4587b4a259SBill Paul.Cd "device usb" 4687b4a259SBill Paul.Cd "device miibus" 47*ff6b30b9SKevin Lo.Cd "device uether" 4887b4a259SBill Paul.Cd "device axe" 4986e3186eSTom Rhodes.Ed 5086e3186eSTom Rhodes.Pp 5116d78bb8STom RhodesAlternatively, to load the driver as a 5216d78bb8STom Rhodesmodule at boot time, place the following line in 5386e3186eSTom Rhodes.Xr loader.conf 5 : 5486e3186eSTom Rhodes.Bd -literal -offset indent 5586e3186eSTom Rhodesif_axe_load="YES" 5686e3186eSTom Rhodes.Ed 5787b4a259SBill Paul.Sh DESCRIPTION 5887b4a259SBill PaulThe 5987b4a259SBill Paul.Nm 60a173ee89SChristian Bruefferdriver provides support for USB Ethernet adapters based on the ASIX 614cef1850SPyun YongHyeonElectronics AX88172, AX88178, AX88772, AX88772A, AX88772B and AX88760 624cef1850SPyun YongHyeonUSB 2.0 chipsets. 6387b4a259SBill Paul.Pp 644cef1850SPyun YongHyeonThe AX88172, AX88772, AX88772A, AX88772B and AX88760 contain a 10/100 650da18a26SSam LefflerEthernet MAC with MII interface and are designed to work with both 66a173ee89SChristian BruefferEthernet and HomePNA transceivers. 674cef1850SPyun YongHyeonThe AX88178 has a 10/100/1000 Ethernet MAC with GMII/RGMII interface 684cef1850SPyun YongHyeonfor interfacing with Gigabit Ethernet PHY. 690da18a26SSam Leffler.Pp 700da18a26SSam LefflerThese devices will operate with 71c48524c2SMike Pritchardboth USB 1.x and USB 2.0 controllers, however performance with 1.x 72c48524c2SMike Pritchardcontrollers will be limited since the USB 1.x standard specifies a 7387b4a259SBill Paulmaximum transfer speed of 12Mbps. 7487b4a259SBill PaulUsers with USB 1.x controllers should therefore not expect to actually 7587b4a259SBill Paulachieve 100Mbps speeds with these devices. 7687b4a259SBill Paul.Pp 770da18a26SSam LefflerAll chipsets support a 64-bit multicast hash table, single perfect 7887b4a259SBill Paulfilter entry for the station address, all-multicast mode and promiscuous mode. 7987b4a259SBill PaulPackets are 8087b4a259SBill Paulreceived and transmitted over separate USB bulk transfer endpoints. 8187b4a259SBill Paul.Pp 8287b4a259SBill PaulThe 8387b4a259SBill Paul.Nm 8487b4a259SBill Pauldriver supports the following media types: 85bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP" 86bc9a9cb4SRuslan Ermilov.It Cm autoselect 8787b4a259SBill PaulEnable autoselection of the media type and options. 8887b4a259SBill PaulThe user can manually override 894cef1850SPyun YongHyeonthe autoselected mode by adding media options to 904cef1850SPyun YongHyeon.Xr rc.conf 5 . 91bc9a9cb4SRuslan Ermilov.It Cm 10baseT/UTP 9287b4a259SBill PaulSet 10Mbps operation. 9387b4a259SBill PaulThe 944cef1850SPyun YongHyeon.Xr ifconfig 8 95bc9a9cb4SRuslan Ermilov.Cm mediaopt 964cef1850SPyun YongHyeonoption can also be used to select either 97bc9a9cb4SRuslan Ermilov.Cm full-duplex 984cef1850SPyun YongHyeonor 99bc9a9cb4SRuslan Ermilov.Cm half-duplex 1004cef1850SPyun YongHyeonmodes. 101bc9a9cb4SRuslan Ermilov.It Cm 100baseTX 102a173ee89SChristian BruefferSet 100Mbps (Fast Ethernet) operation. 10387b4a259SBill PaulThe 1044cef1850SPyun YongHyeon.Xr ifconfig 8 105bc9a9cb4SRuslan Ermilov.Cm mediaopt 1064cef1850SPyun YongHyeonoption can also be used to select either 107bc9a9cb4SRuslan Ermilov.Cm full-duplex 1084cef1850SPyun YongHyeonor 109bc9a9cb4SRuslan Ermilov.Cm half-duplex 1104cef1850SPyun YongHyeonmodes. 1114cef1850SPyun YongHyeon.It Cm 1000baseT 1124cef1850SPyun YongHyeonSet 1000Mbps (Gigabit Ethernet) operation (AX88178 only). 1134cef1850SPyun YongHyeonThe 1144cef1850SPyun YongHyeon.Xr ifconfig 8 1154cef1850SPyun YongHyeon.Cm mediaopt 1164cef1850SPyun YongHyeonoption can also be used to select either 1174cef1850SPyun YongHyeon.Cm full-duplex 1184cef1850SPyun YongHyeonor 1194cef1850SPyun YongHyeon.Cm half-duplex 1204cef1850SPyun YongHyeonmodes. 12187b4a259SBill Paul.El 12287b4a259SBill Paul.Pp 12387b4a259SBill PaulThe 12487b4a259SBill Paul.Nm 12587b4a259SBill Pauldriver supports the following media options: 1264cef1850SPyun YongHyeon.Bl -tag -width ".Cm full-duplex" 127bc9a9cb4SRuslan Ermilov.It Cm full-duplex 12887b4a259SBill PaulForce full duplex operation. 1294cef1850SPyun YongHyeon.It Cm half-duplex 1304cef1850SPyun YongHyeonForce half duplex operation. 13187b4a259SBill Paul.El 13287b4a259SBill Paul.Pp 13387b4a259SBill PaulFor more information on configuring this device, see 13487b4a259SBill Paul.Xr ifconfig 8 . 135a173ee89SChristian Brueffer.Sh HARDWARE 136a173ee89SChristian BruefferThe 137a173ee89SChristian Brueffer.Nm 1384cef1850SPyun YongHyeondriver supports ASIX Electronics AX88172/AX88178/AX88772/AX88772A/AX88772B/AX88760 1394cef1850SPyun YongHyeonbased USB Ethernet adapters including: 140a173ee89SChristian Brueffer.Pp 1410da18a26SSam LefflerAX88172: 142a173ee89SChristian Brueffer.Bl -bullet -compact 143a173ee89SChristian Brueffer.It 1440da18a26SSam LefflerAboCom UF200 1450da18a26SSam Leffler.It 1460da18a26SSam LefflerAcer Communications EP1427X2 1470da18a26SSam Leffler.It 1484cef1850SPyun YongHyeonASIX AX88172 1494cef1850SPyun YongHyeon.It 1500da18a26SSam LefflerATen UC210T 1510da18a26SSam Leffler.It 1520da18a26SSam LefflerBillionton SnapPort 1530da18a26SSam Leffler.It 1540da18a26SSam LefflerBillionton USB2AR 1550da18a26SSam Leffler.It 156a173ee89SChristian BruefferBuffalo (Melco Inc.) LUA-U2-KTX 157a173ee89SChristian Brueffer.It 1580da18a26SSam LefflerCorega USB2_TX 1590da18a26SSam Leffler.It 1600da18a26SSam LefflerD-Link DUBE100 1610da18a26SSam Leffler.It 1620da18a26SSam LefflerGoodway GWUSB2E 1630da18a26SSam Leffler.It 1640da18a26SSam LefflerJVC MP_PRX1 165a173ee89SChristian Brueffer.It 166a173ee89SChristian BruefferLinkSys USB200M 167a173ee89SChristian Brueffer.It 168a173ee89SChristian BruefferNetgear FA120 169a173ee89SChristian Brueffer.It 1703d634dbaSSimon L. B. NielsenSitecom LN-029 1713d634dbaSSimon L. B. Nielsen.It 172da2fa159SRuslan ErmilovSystem TALKS Inc.\& SGC-X2UL 173a173ee89SChristian Brueffer.El 1740da18a26SSam Leffler.Pp 1750da18a26SSam LefflerAX88178: 1760da18a26SSam Leffler.Bl -bullet -compact 1770da18a26SSam Leffler.It 1784cef1850SPyun YongHyeonASIX AX88178 1794cef1850SPyun YongHyeon.It 1800da18a26SSam LefflerBelkin F5D5055 1810da18a26SSam Leffler.It 18287b6f185SMIHIRA Sanpei YoshiroLogitec LAN-GTJ/U2A 18387b6f185SMIHIRA Sanpei Yoshiro.It 18487b6f185SMIHIRA Sanpei YoshiroBuffalo (Melco Inc.) LUA3-U2-AGT 18587b6f185SMIHIRA Sanpei Yoshiro.It 1860da18a26SSam LefflerPlanex Communications GU1000T 1870da18a26SSam Leffler.It 1880da18a26SSam LefflerSitecom Europe LN-028 1890da18a26SSam Leffler.El 1900da18a26SSam Leffler.Pp 1910da18a26SSam LefflerAX88772: 1920da18a26SSam Leffler.Bl -bullet -compact 1930da18a26SSam Leffler.It 1944cef1850SPyun YongHyeonASIX AX88772 1954c394c18SMIHIRA Sanpei Yoshiro.It 1964cef1850SPyun YongHyeonBuffalo (Melco Inc.) LUA3-U2-ATX 1970da18a26SSam Leffler.It 1980da18a26SSam LefflerD-Link DUBE100B1 1995696dee9SMIHIRA Sanpei Yoshiro.It 2005696dee9SMIHIRA Sanpei YoshiroPlanex UE-200TX-G 201081915ddSMIHIRA Sanpei Yoshiro.It 202081915ddSMIHIRA Sanpei YoshiroPlanex UE-200TX-G2 2030da18a26SSam Leffler.El 2044cef1850SPyun YongHyeon.Pp 2054cef1850SPyun YongHyeonAX88772A: 2064cef1850SPyun YongHyeon.Bl -bullet -compact 2074cef1850SPyun YongHyeon.It 2084cef1850SPyun YongHyeonASIX AX88772A 2094cef1850SPyun YongHyeon.It 2104cef1850SPyun YongHyeonCisco-Linksys USB200Mv2 2114cef1850SPyun YongHyeon.El 2124cef1850SPyun YongHyeon.Pp 2134cef1850SPyun YongHyeonAX88772B: 2144cef1850SPyun YongHyeon.Bl -bullet -compact 2154cef1850SPyun YongHyeon.It 2164cef1850SPyun YongHyeonASIX AX88772B 21785a8614eSPyun YongHyeon.It 21885a8614eSPyun YongHyeonLenovo USB 2.0 Ethernet 2194cef1850SPyun YongHyeon.El 2204cef1850SPyun YongHyeon.Pp 2214cef1850SPyun YongHyeonAX88760: 2224cef1850SPyun YongHyeon.Bl -bullet -compact 2234cef1850SPyun YongHyeon.It 2244cef1850SPyun YongHyeonASIX AX88760 2254cef1850SPyun YongHyeon.El 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 , 2427971aa3dSPyun YongHyeon.Xr vlan 4 , 24387b4a259SBill Paul.Xr ifconfig 8 24487b4a259SBill Paul.Rs 2454cef1850SPyun YongHyeon.%T "ASIX AX88x7x and AX88760 data sheets" 246aa4a335bSRuslan Ermilov.%U http://www.asix.com.tw 24787b4a259SBill Paul.Re 24887b4a259SBill Paul.Sh HISTORY 24987b4a259SBill PaulThe 25087b4a259SBill Paul.Nm 25187b4a259SBill Pauldevice driver first appeared in 25287b4a259SBill Paul.Fx 5.0 . 25387b4a259SBill Paul.Sh AUTHORS 25487b4a259SBill PaulThe 25587b4a259SBill Paul.Nm 25687b4a259SBill Pauldriver was written by 2576c899950SBaptiste Daroussin.An Bill Paul Aq Mt wpaul@windriver.com . 258