xref: /freebsd/share/man/man4/axe.4 (revision 5696dee9f45132c83ae72a27262423b978b57f86)
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.\"
330da18a26SSam Leffler.Dd January 20, 2008
3487b4a259SBill Paul.Dt AXE 4
3587b4a259SBill Paul.Os
3687b4a259SBill Paul.Sh NAME
3787b4a259SBill Paul.Nm axe
380da18a26SSam Leffler.Nd "ASIX Electronics AX88172/178/772 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
620da18a26SSam LefflerElectronics AX88172, AX88178 and AX88772 USB 2.0 chipsets.
6387b4a259SBill Paul.Pp
640da18a26SSam LefflerThe AX88172 and AX88178 are USB 2.0 devices that contain a 10/100
650da18a26SSam LefflerEthernet MAC with MII interface and are designed to work with both
66a173ee89SChristian BruefferEthernet and HomePNA transceivers.
670da18a26SSam LefflerThe AX88772 will additionally support 10/100/1000 MACs.
680da18a26SSam Leffler.Pp
690da18a26SSam LefflerThese devices will operate with
70c48524c2SMike Pritchardboth USB 1.x and USB 2.0 controllers, however performance with 1.x
71c48524c2SMike Pritchardcontrollers will be limited since the USB 1.x standard specifies a
7287b4a259SBill Paulmaximum transfer speed of 12Mbps.
7387b4a259SBill PaulUsers with USB 1.x controllers should therefore not expect to actually
7487b4a259SBill Paulachieve 100Mbps speeds with these devices.
7587b4a259SBill Paul.Pp
760da18a26SSam LefflerAll chipsets support a 64-bit multicast hash table, single perfect
7787b4a259SBill Paulfilter entry for the station address, all-multicast mode and promiscuous mode.
7887b4a259SBill PaulPackets are
7987b4a259SBill Paulreceived and transmitted over separate USB bulk transfer endpoints.
8087b4a259SBill Paul.Pp
8187b4a259SBill PaulThe
8287b4a259SBill Paul.Nm
8387b4a259SBill Pauldriver supports the following media types:
84bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP"
85bc9a9cb4SRuslan Ermilov.It Cm autoselect
8687b4a259SBill PaulEnable autoselection of the media type and options.
8787b4a259SBill PaulThe user can manually override
8887b4a259SBill Paulthe autoselected mode by adding media options to the
8987b4a259SBill Paul.Pa /etc/rc.conf
9087b4a259SBill Paulfile.
91bc9a9cb4SRuslan Ermilov.It Cm 10baseT/UTP
9287b4a259SBill PaulSet 10Mbps operation.
9387b4a259SBill PaulThe
94bc9a9cb4SRuslan Ermilov.Cm mediaopt
9587b4a259SBill Pauloption can also be used to enable
96bc9a9cb4SRuslan Ermilov.Cm full-duplex
9787b4a259SBill Pauloperation.
9887b4a259SBill PaulNot specifying
99bc9a9cb4SRuslan Ermilov.Cm full-duplex
10087b4a259SBill Paulimplies
101bc9a9cb4SRuslan Ermilov.Cm half-duplex
10287b4a259SBill Paulmode.
103bc9a9cb4SRuslan Ermilov.It Cm 100baseTX
104a173ee89SChristian BruefferSet 100Mbps (Fast Ethernet) operation.
10587b4a259SBill PaulThe
106bc9a9cb4SRuslan Ermilov.Cm mediaopt
10787b4a259SBill Pauloption can also be used to enable
108bc9a9cb4SRuslan Ermilov.Cm full-duplex
10987b4a259SBill Pauloperation.
11087b4a259SBill PaulNot specifying
111bc9a9cb4SRuslan Ermilov.Cm full-duplex
11287b4a259SBill Paulimplies
113bc9a9cb4SRuslan Ermilov.Cm half-duplex
11487b4a259SBill Paulmode.
11587b4a259SBill Paul.El
11687b4a259SBill Paul.Pp
11787b4a259SBill PaulThe
11887b4a259SBill Paul.Nm
11987b4a259SBill Pauldriver supports the following media options:
120bc9a9cb4SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP"
121bc9a9cb4SRuslan Ermilov.It Cm full-duplex
12287b4a259SBill PaulForce full duplex operation.
12387b4a259SBill PaulThe interface will operate in
12487b4a259SBill Paulhalf duplex mode if this media option is not specified.
12587b4a259SBill Paul.El
12687b4a259SBill Paul.Pp
12787b4a259SBill PaulFor more information on configuring this device, see
12887b4a259SBill Paul.Xr ifconfig 8 .
129a173ee89SChristian Brueffer.Sh HARDWARE
130a173ee89SChristian BruefferThe
131a173ee89SChristian Brueffer.Nm
1320da18a26SSam Lefflerdriver supports ASIX Electronics AX88172/AX88178/AX88772 based USB Ethernet
133a173ee89SChristian Bruefferadapters including:
134a173ee89SChristian Brueffer.Pp
1350da18a26SSam LefflerAX88172:
136a173ee89SChristian Brueffer.Bl -bullet -compact
137a173ee89SChristian Brueffer.It
1380da18a26SSam LefflerAboCom UF200
1390da18a26SSam Leffler.It
1400da18a26SSam LefflerAcer Communications EP1427X2
1410da18a26SSam Leffler.It
1420da18a26SSam LefflerATen UC210T
1430da18a26SSam Leffler.It
1440da18a26SSam LefflerBillionton SnapPort
1450da18a26SSam Leffler.It
1460da18a26SSam LefflerBillionton USB2AR
1470da18a26SSam Leffler.It
148a173ee89SChristian BruefferBuffalo (Melco Inc.) LUA-U2-KTX
149a173ee89SChristian Brueffer.It
1500da18a26SSam LefflerCorega USB2_TX
1510da18a26SSam Leffler.It
1520da18a26SSam LefflerD-Link DUBE100
1530da18a26SSam Leffler.It
1540da18a26SSam LefflerGoodway GWUSB2E
1550da18a26SSam Leffler.It
1560da18a26SSam LefflerJVC MP_PRX1
157a173ee89SChristian Brueffer.It
158a173ee89SChristian BruefferLinkSys USB200M
159a173ee89SChristian Brueffer.It
160a173ee89SChristian BruefferNetgear FA120
161a173ee89SChristian Brueffer.It
1623d634dbaSSimon L. B. NielsenSitecom LN-029
1633d634dbaSSimon L. B. Nielsen.It
164da2fa159SRuslan ErmilovSystem TALKS Inc.\& SGC-X2UL
165a173ee89SChristian Brueffer.El
1660da18a26SSam Leffler.Pp
1670da18a26SSam LefflerAX88178:
1680da18a26SSam Leffler.Bl -bullet -compact
1690da18a26SSam Leffler.It
1700da18a26SSam LefflerBelkin F5D5055
1710da18a26SSam Leffler.It
1720da18a26SSam LefflerPlanex Communications GU1000T
1730da18a26SSam Leffler.It
1740da18a26SSam LefflerSitecom Europe LN-028
1750da18a26SSam Leffler.El
1760da18a26SSam Leffler.Pp
1770da18a26SSam LefflerAX88772:
1780da18a26SSam Leffler.Bl -bullet -compact
1790da18a26SSam Leffler.It
1804c394c18SMIHIRA Sanpei YoshiroBuffalo (Melco Inc.) LUA3-U2-ATX
1814c394c18SMIHIRA Sanpei Yoshiro.It
1820da18a26SSam LefflerCisco-Linksys USB200Mv2
1830da18a26SSam Leffler.It
1840da18a26SSam LefflerD-Link DUBE100B1
185*5696dee9SMIHIRA Sanpei Yoshiro.It
186*5696dee9SMIHIRA Sanpei YoshiroPlanex UE-200TX-G
1870da18a26SSam Leffler.El
18887b4a259SBill Paul.Sh DIAGNOSTICS
18987b4a259SBill Paul.Bl -diag
19087b4a259SBill Paul.It "axe%d: watchdog timeout"
19187b4a259SBill PaulA packet was queued for transmission and a transmit command was
19287b4a259SBill Paulissued, however the device failed to acknowledge the transmission
19387b4a259SBill Paulbefore a timeout expired.
19487b4a259SBill Paul.It "axe%d: no memory for rx list"
19587b4a259SBill PaulThe driver failed to allocate an mbuf for the receiver ring.
19687b4a259SBill Paul.El
19787b4a259SBill Paul.Sh SEE ALSO
1981ff08d5fSChristian Brueffer.Xr altq 4 ,
19987b4a259SBill Paul.Xr arp 4 ,
20087b4a259SBill Paul.Xr miibus 4 ,
20187b4a259SBill Paul.Xr netintro 4 ,
20287b4a259SBill Paul.Xr ng_ether 4 ,
20387b4a259SBill Paul.Xr ifconfig 8
20487b4a259SBill Paul.Rs
2050da18a26SSam Leffler.%T "ASIX AX88172 AX88178 and AX88772 data sheets"
206aa4a335bSRuslan Ermilov.%U http://www.asix.com.tw
20787b4a259SBill Paul.Re
20887b4a259SBill Paul.Sh HISTORY
20987b4a259SBill PaulThe
21087b4a259SBill Paul.Nm
21187b4a259SBill Pauldevice driver first appeared in
21287b4a259SBill Paul.Fx 5.0 .
21387b4a259SBill Paul.Sh AUTHORS
21487b4a259SBill PaulThe
21587b4a259SBill Paul.Nm
21687b4a259SBill Pauldriver was written by
21787b4a259SBill Paul.An Bill Paul Aq wpaul@windriver.com .
218