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.\" 33a173ee89SChristian Brueffer.Dd August 25, 2004 3487b4a259SBill Paul.Dt AXE 4 3587b4a259SBill Paul.Os 3687b4a259SBill Paul.Sh NAME 3787b4a259SBill Paul.Nm axe 3887b4a259SBill Paul.Nd ASIX Electronics AX88172 USB Ethernet driver 3987b4a259SBill Paul.Sh SYNOPSIS 4087b4a259SBill Paul.Cd "device ehci" 4187b4a259SBill Paul.Cd "device uhci" 4287b4a259SBill Paul.Cd "device ohci" 4387b4a259SBill Paul.Cd "device usb" 4487b4a259SBill Paul.Cd "device miibus" 4587b4a259SBill Paul.Cd "device axe" 4687b4a259SBill Paul.Sh DESCRIPTION 4787b4a259SBill PaulThe 4887b4a259SBill Paul.Nm 49a173ee89SChristian Bruefferdriver provides support for USB Ethernet adapters based on the ASIX 50a173ee89SChristian BruefferElectronics AX88172 USB 2.0 chipset. 5187b4a259SBill Paul.Pp 5287b4a259SBill PaulThe AX88172 is a USB 2.0 device which contains a 10/100 53a173ee89SChristian BruefferEthernet MAC with MII interface and is designed to work with both 54a173ee89SChristian BruefferEthernet and HomePNA transceivers. 55bc9a9cb4SRuslan ErmilovThe AX88172 will operate with 56c48524c2SMike Pritchardboth USB 1.x and USB 2.0 controllers, however performance with 1.x 57c48524c2SMike Pritchardcontrollers will be limited since the USB 1.x standard specifies a 5887b4a259SBill Paulmaximum transfer speed of 12Mbps. 5987b4a259SBill PaulUsers with USB 1.x controllers should therefore not expect to actually 6087b4a259SBill Paulachieve 100Mbps speeds with these devices. 6187b4a259SBill Paul.Pp 6287b4a259SBill PaulThe AX88172 supports a 64-bit multicast hash table, single perfect 6387b4a259SBill Paulfilter entry for the station address, all-multicast mode and promiscuous mode. 6487b4a259SBill PaulPackets are 6587b4a259SBill Paulreceived and transmitted over separate USB bulk transfer endpoints. 6687b4a259SBill Paul.Pp 6787b4a259SBill PaulThe 6887b4a259SBill Paul.Nm 6987b4a259SBill Pauldriver supports the following media types: 70bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP" 71bc9a9cb4SRuslan Ermilov.It Cm autoselect 7287b4a259SBill PaulEnable autoselection of the media type and options. 7387b4a259SBill PaulThe user can manually override 7487b4a259SBill Paulthe autoselected mode by adding media options to the 7587b4a259SBill Paul.Pa /etc/rc.conf 7687b4a259SBill Paulfile. 77bc9a9cb4SRuslan Ermilov.It Cm 10baseT/UTP 7887b4a259SBill PaulSet 10Mbps operation. 7987b4a259SBill PaulThe 80bc9a9cb4SRuslan Ermilov.Cm mediaopt 8187b4a259SBill Pauloption can also be used to enable 82bc9a9cb4SRuslan Ermilov.Cm full-duplex 8387b4a259SBill Pauloperation. 8487b4a259SBill PaulNot specifying 85bc9a9cb4SRuslan Ermilov.Cm full-duplex 8687b4a259SBill Paulimplies 87bc9a9cb4SRuslan Ermilov.Cm half-duplex 8887b4a259SBill Paulmode. 89bc9a9cb4SRuslan Ermilov.It Cm 100baseTX 90a173ee89SChristian BruefferSet 100Mbps (Fast Ethernet) operation. 9187b4a259SBill PaulThe 92bc9a9cb4SRuslan Ermilov.Cm mediaopt 9387b4a259SBill Pauloption can also be used to enable 94bc9a9cb4SRuslan Ermilov.Cm full-duplex 9587b4a259SBill Pauloperation. 9687b4a259SBill PaulNot specifying 97bc9a9cb4SRuslan Ermilov.Cm full-duplex 9887b4a259SBill Paulimplies 99bc9a9cb4SRuslan Ermilov.Cm half-duplex 10087b4a259SBill Paulmode. 10187b4a259SBill Paul.El 10287b4a259SBill Paul.Pp 10387b4a259SBill PaulThe 10487b4a259SBill Paul.Nm 10587b4a259SBill Pauldriver supports the following media options: 106bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP" 107bc9a9cb4SRuslan Ermilov.It Cm full-duplex 10887b4a259SBill PaulForce full duplex operation. 10987b4a259SBill PaulThe interface will operate in 11087b4a259SBill Paulhalf duplex mode if this media option is not specified. 11187b4a259SBill Paul.El 11287b4a259SBill Paul.Pp 11387b4a259SBill PaulFor more information on configuring this device, see 11487b4a259SBill Paul.Xr ifconfig 8 . 115a173ee89SChristian Brueffer.Sh HARDWARE 116a173ee89SChristian BruefferThe 117a173ee89SChristian Brueffer.Nm 118a173ee89SChristian Bruefferdriver supports ASIX Electronics AX88172 based USB Ethernet 119a173ee89SChristian Bruefferadapters including: 120a173ee89SChristian Brueffer.Pp 121a173ee89SChristian Brueffer.Bl -bullet -compact 122a173ee89SChristian Brueffer.It 123a173ee89SChristian BruefferBuffalo (Melco Inc.) LUA-U2-KTX 124a173ee89SChristian Brueffer.It 125a173ee89SChristian BruefferD-Link DUBE100 126a173ee89SChristian Brueffer.It 127a173ee89SChristian BruefferLinkSys USB200M 128a173ee89SChristian Brueffer.It 129a173ee89SChristian BruefferNetgear FA120 130a173ee89SChristian Brueffer.It 131a173ee89SChristian BruefferSystem TALKS Inc. SGC-X2UL 132a173ee89SChristian Brueffer.El 13387b4a259SBill Paul.Sh DIAGNOSTICS 13487b4a259SBill Paul.Bl -diag 13587b4a259SBill Paul.It "axe%d: watchdog timeout" 13687b4a259SBill PaulA packet was queued for transmission and a transmit command was 13787b4a259SBill Paulissued, however the device failed to acknowledge the transmission 13887b4a259SBill Paulbefore a timeout expired. 13987b4a259SBill Paul.It "axe%d: no memory for rx list" 14087b4a259SBill PaulThe driver failed to allocate an mbuf for the receiver ring. 14187b4a259SBill Paul.El 14287b4a259SBill Paul.Sh SEE ALSO 14387b4a259SBill Paul.Xr arp 4 , 14487b4a259SBill Paul.Xr miibus 4 , 14587b4a259SBill Paul.Xr netintro 4 , 14687b4a259SBill Paul.Xr ng_ether 4 , 14787b4a259SBill Paul.Xr ifconfig 8 14887b4a259SBill Paul.Rs 149bc9a9cb4SRuslan Ermilov.%T "ASIX AX88172 data sheet" 15087b4a259SBill Paul.%O http://www.asix.com.tw 15187b4a259SBill Paul.Re 15287b4a259SBill Paul.Sh HISTORY 15387b4a259SBill PaulThe 15487b4a259SBill Paul.Nm 15587b4a259SBill Pauldevice driver first appeared in 15687b4a259SBill Paul.Fx 5.0 . 15787b4a259SBill Paul.Sh AUTHORS 15887b4a259SBill PaulThe 15987b4a259SBill Paul.Nm 16087b4a259SBill Pauldriver was written by 16187b4a259SBill Paul.An Bill Paul Aq wpaul@windriver.com . 162