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.\" 3386e3186eSTom Rhodes.Dd July 16, 2005 3487b4a259SBill Paul.Dt AXE 4 3587b4a259SBill Paul.Os 3687b4a259SBill Paul.Sh NAME 3787b4a259SBill Paul.Nm axe 3886e3186eSTom Rhodes.Nd "ASIX Electronics AX88172 USB Ethernet driver" 3987b4a259SBill Paul.Sh SYNOPSIS 4086e3186eSTom RhodesTo compile support for the 4186e3186eSTom Rhodes.Nm 4286e3186eSTom Rhodesdriver into your kernel, place the following lines in your kernel 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 5286e3186eSTom RhodesAlternatively, to load the 5386e3186eSTom Rhodes.Nm 5486e3186eSTom Rhodesdriver at boot time, place the following line in 5586e3186eSTom Rhodes.Xr loader.conf 5 : 5686e3186eSTom Rhodes.Bd -literal -offset indent 5786e3186eSTom Rhodesif_axe_load="YES" 5886e3186eSTom Rhodes.Ed 5987b4a259SBill Paul.Sh DESCRIPTION 6087b4a259SBill PaulThe 6187b4a259SBill Paul.Nm 62a173ee89SChristian Bruefferdriver provides support for USB Ethernet adapters based on the ASIX 63a173ee89SChristian BruefferElectronics AX88172 USB 2.0 chipset. 6487b4a259SBill Paul.Pp 6587b4a259SBill PaulThe AX88172 is a USB 2.0 device which contains a 10/100 66a173ee89SChristian BruefferEthernet MAC with MII interface and is designed to work with both 67a173ee89SChristian BruefferEthernet and HomePNA transceivers. 68bc9a9cb4SRuslan ErmilovThe AX88172 will operate with 69c48524c2SMike Pritchardboth USB 1.x and USB 2.0 controllers, however performance with 1.x 70c48524c2SMike Pritchardcontrollers will be limited since the USB 1.x standard specifies a 7187b4a259SBill Paulmaximum transfer speed of 12Mbps. 7287b4a259SBill PaulUsers with USB 1.x controllers should therefore not expect to actually 7387b4a259SBill Paulachieve 100Mbps speeds with these devices. 7487b4a259SBill Paul.Pp 7587b4a259SBill PaulThe AX88172 supports a 64-bit multicast hash table, single perfect 7687b4a259SBill Paulfilter entry for the station address, all-multicast mode and promiscuous mode. 7787b4a259SBill PaulPackets are 7887b4a259SBill Paulreceived and transmitted over separate USB bulk transfer endpoints. 7987b4a259SBill Paul.Pp 8087b4a259SBill PaulThe 8187b4a259SBill Paul.Nm 8287b4a259SBill Pauldriver supports the following media types: 83bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP" 84bc9a9cb4SRuslan Ermilov.It Cm autoselect 8587b4a259SBill PaulEnable autoselection of the media type and options. 8687b4a259SBill PaulThe user can manually override 8787b4a259SBill Paulthe autoselected mode by adding media options to the 8887b4a259SBill Paul.Pa /etc/rc.conf 8987b4a259SBill Paulfile. 90bc9a9cb4SRuslan Ermilov.It Cm 10baseT/UTP 9187b4a259SBill PaulSet 10Mbps operation. 9287b4a259SBill PaulThe 93bc9a9cb4SRuslan Ermilov.Cm mediaopt 9487b4a259SBill Pauloption can also be used to enable 95bc9a9cb4SRuslan Ermilov.Cm full-duplex 9687b4a259SBill Pauloperation. 9787b4a259SBill PaulNot specifying 98bc9a9cb4SRuslan Ermilov.Cm full-duplex 9987b4a259SBill Paulimplies 100bc9a9cb4SRuslan Ermilov.Cm half-duplex 10187b4a259SBill Paulmode. 102bc9a9cb4SRuslan Ermilov.It Cm 100baseTX 103a173ee89SChristian BruefferSet 100Mbps (Fast Ethernet) operation. 10487b4a259SBill PaulThe 105bc9a9cb4SRuslan Ermilov.Cm mediaopt 10687b4a259SBill Pauloption can also be used to enable 107bc9a9cb4SRuslan Ermilov.Cm full-duplex 10887b4a259SBill Pauloperation. 10987b4a259SBill PaulNot specifying 110bc9a9cb4SRuslan Ermilov.Cm full-duplex 11187b4a259SBill Paulimplies 112bc9a9cb4SRuslan Ermilov.Cm half-duplex 11387b4a259SBill Paulmode. 11487b4a259SBill Paul.El 11587b4a259SBill Paul.Pp 11687b4a259SBill PaulThe 11787b4a259SBill Paul.Nm 11887b4a259SBill Pauldriver supports the following media options: 119bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP" 120bc9a9cb4SRuslan Ermilov.It Cm full-duplex 12187b4a259SBill PaulForce full duplex operation. 12287b4a259SBill PaulThe interface will operate in 12387b4a259SBill Paulhalf duplex mode if this media option is not specified. 12487b4a259SBill Paul.El 12587b4a259SBill Paul.Pp 12687b4a259SBill PaulFor more information on configuring this device, see 12787b4a259SBill Paul.Xr ifconfig 8 . 128a173ee89SChristian Brueffer.Sh HARDWARE 129a173ee89SChristian BruefferThe 130a173ee89SChristian Brueffer.Nm 131a173ee89SChristian Bruefferdriver supports ASIX Electronics AX88172 based USB Ethernet 132a173ee89SChristian Bruefferadapters including: 133a173ee89SChristian Brueffer.Pp 134a173ee89SChristian Brueffer.Bl -bullet -compact 135a173ee89SChristian Brueffer.It 136a173ee89SChristian BruefferBuffalo (Melco Inc.) LUA-U2-KTX 137a173ee89SChristian Brueffer.It 138a173ee89SChristian BruefferD-Link DUBE100 139a173ee89SChristian Brueffer.It 140a173ee89SChristian BruefferLinkSys USB200M 141a173ee89SChristian Brueffer.It 142a173ee89SChristian BruefferNetgear FA120 143a173ee89SChristian Brueffer.It 1443d634dbaSSimon L. B. NielsenSitecom LN-029 1453d634dbaSSimon L. B. Nielsen.It 146da2fa159SRuslan ErmilovSystem TALKS Inc.\& SGC-X2UL 147a173ee89SChristian Brueffer.El 14887b4a259SBill Paul.Sh DIAGNOSTICS 14987b4a259SBill Paul.Bl -diag 15087b4a259SBill Paul.It "axe%d: watchdog timeout" 15187b4a259SBill PaulA packet was queued for transmission and a transmit command was 15287b4a259SBill Paulissued, however the device failed to acknowledge the transmission 15387b4a259SBill Paulbefore a timeout expired. 15487b4a259SBill Paul.It "axe%d: no memory for rx list" 15587b4a259SBill PaulThe driver failed to allocate an mbuf for the receiver ring. 15687b4a259SBill Paul.El 15787b4a259SBill Paul.Sh SEE ALSO 15887b4a259SBill Paul.Xr arp 4 , 15987b4a259SBill Paul.Xr miibus 4 , 16087b4a259SBill Paul.Xr netintro 4 , 16187b4a259SBill Paul.Xr ng_ether 4 , 16287b4a259SBill Paul.Xr ifconfig 8 16387b4a259SBill Paul.Rs 164bc9a9cb4SRuslan Ermilov.%T "ASIX AX88172 data sheet" 16587b4a259SBill Paul.%O http://www.asix.com.tw 16687b4a259SBill Paul.Re 16787b4a259SBill Paul.Sh HISTORY 16887b4a259SBill PaulThe 16987b4a259SBill Paul.Nm 17087b4a259SBill Pauldevice driver first appeared in 17187b4a259SBill Paul.Fx 5.0 . 17287b4a259SBill Paul.Sh AUTHORS 17387b4a259SBill PaulThe 17487b4a259SBill Paul.Nm 17587b4a259SBill Pauldriver was written by 17687b4a259SBill Paul.An Bill Paul Aq wpaul@windriver.com . 177