xref: /freebsd-src/share/man/man4/axge.4 (revision 6962da914dd511349b219241e92b32329be76fc6)
1da089c14SMark Johnston.\" Copyright (c) 1997, 1998, 1999, 2000-2003
2da089c14SMark Johnston.\"     Bill Paul <wpaul@windriver.com>. All rights reserved.
3da089c14SMark Johnston.\"
4da089c14SMark Johnston.\" Redistribution and use in source and binary forms, with or without
5da089c14SMark Johnston.\" modification, are permitted provided that the following conditions
6da089c14SMark Johnston.\" are met:
7da089c14SMark Johnston.\" 1. Redistributions of source code must retain the above copyright
8da089c14SMark Johnston.\"    notice, this list of conditions and the following disclaimer.
9da089c14SMark Johnston.\" 2. Redistributions in binary form must reproduce the above copyright
10da089c14SMark Johnston.\"    notice, this list of conditions and the following disclaimer in the
11da089c14SMark Johnston.\"    documentation and/or other materials provided with the distribution.
12da089c14SMark Johnston.\" 3. All advertising materials mentioning features or use of this software
13da089c14SMark Johnston.\"    must display the following acknowledgement:
14da089c14SMark Johnston.\"	This product includes software developed by Bill Paul.
15da089c14SMark Johnston.\" 4. Neither the name of the author nor the names of any co-contributors
16da089c14SMark Johnston.\"    may be used to endorse or promote products derived from this software
17da089c14SMark Johnston.\"   without specific prior written permission.
18da089c14SMark Johnston.\"
19da089c14SMark Johnston.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
20da089c14SMark Johnston.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21da089c14SMark Johnston.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22da089c14SMark Johnston.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
23da089c14SMark Johnston.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24da089c14SMark Johnston.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25da089c14SMark Johnston.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26da089c14SMark Johnston.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27da089c14SMark Johnston.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28da089c14SMark Johnston.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29da089c14SMark Johnston.\" THE POSSIBILITY OF SUCH DAMAGE.
30da089c14SMark Johnston.\"
31*6962da91SDamien Broka.Dd October 4, 2023
32da089c14SMark Johnston.Dt AXGE 4
33da089c14SMark Johnston.Os
34da089c14SMark Johnston.Sh NAME
35da089c14SMark Johnston.Nm axge
36*6962da91SDamien Broka.Nd "ASIX Electronics AX88178A/179/179A USB Gigabit Ethernet driver"
37da089c14SMark Johnston.Sh SYNOPSIS
38da089c14SMark JohnstonTo compile this driver into the kernel,
39da089c14SMark Johnstonplace the following lines in your
40da089c14SMark Johnstonkernel configuration file:
41da089c14SMark Johnston.Bd -ragged -offset indent
42b4028281SLi-Wen Hsu.Cd "device xhci"
43da089c14SMark Johnston.Cd "device ehci"
44da089c14SMark Johnston.Cd "device uhci"
45da089c14SMark Johnston.Cd "device ohci"
46da089c14SMark Johnston.Cd "device usb"
47da089c14SMark Johnston.Cd "device miibus"
48ff6b30b9SKevin Lo.Cd "device uether"
49da089c14SMark Johnston.Cd "device axge"
50da089c14SMark Johnston.Ed
51da089c14SMark Johnston.Pp
52da089c14SMark JohnstonAlternatively, to load the driver as a
53da089c14SMark Johnstonmodule at boot time, place the following line in
54da089c14SMark Johnston.Xr loader.conf 5 :
55da089c14SMark Johnston.Bd -literal -offset indent
56da089c14SMark Johnstonif_axge_load="YES"
57da089c14SMark Johnston.Ed
58da089c14SMark Johnston.Sh DESCRIPTION
59da089c14SMark JohnstonThe
60da089c14SMark Johnston.Nm
61da089c14SMark Johnstondriver provides support for USB Gigabit Ethernet adapters based on the ASIX
62*6962da91SDamien BrokaElectronics AX88179/AX88179A USB 3.0 and AX88178A USB 2.0 chipsets.
63da089c14SMark Johnston.Pp
64*6962da91SDamien BrokaThe AX88179, AX88179A and AX88178A contain a 10/100/1000 Ethernet MAC with a
65*6962da91SDamien BrokaGMII interface for interfacing with the Gigabit Ethernet PHY.
66da089c14SMark Johnston.Pp
67da089c14SMark JohnstonThese devices will operate with both USB 1.x and USB 2.0 controllers, and the
68*6962da91SDamien BrokaAX88179/AX88179A will operate with USB 3.0 controllers.
69da089c14SMark JohnstonPackets are received and transmitted over separate USB bulk transfer endpoints.
70da089c14SMark Johnston.Pp
71da089c14SMark JohnstonThe
72da089c14SMark Johnston.Nm
73da089c14SMark Johnstondriver supports the following media types:
74da089c14SMark Johnston.Bl -tag -width ".Cm 10baseT/UTP"
75da089c14SMark Johnston.It Cm autoselect
76da089c14SMark JohnstonEnable autoselection of the media type and options.
77da089c14SMark JohnstonThe user can manually override
78da089c14SMark Johnstonthe autoselected mode by adding media options to
79da089c14SMark Johnston.Xr rc.conf 5 .
80da089c14SMark Johnston.It Cm 10baseT/UTP
81da089c14SMark JohnstonSet 10Mbps operation.
82da089c14SMark JohnstonThe
83da089c14SMark Johnston.Xr ifconfig 8
84da089c14SMark Johnston.Cm mediaopt
85da089c14SMark Johnstonoption can also be used to select either
86da089c14SMark Johnston.Cm full-duplex
87da089c14SMark Johnstonor
88da089c14SMark Johnston.Cm half-duplex
89da089c14SMark Johnstonmodes.
90da089c14SMark Johnston.It Cm 100baseTX
91da089c14SMark JohnstonSet 100Mbps (Fast Ethernet) operation.
92da089c14SMark JohnstonThe
93da089c14SMark Johnston.Xr ifconfig 8
94da089c14SMark Johnston.Cm mediaopt
95da089c14SMark Johnstonoption can also be used to select either
96da089c14SMark Johnston.Cm full-duplex
97da089c14SMark Johnstonor
98da089c14SMark Johnston.Cm half-duplex
99da089c14SMark Johnstonmodes.
100da089c14SMark Johnston.It Cm 1000baseT
101da089c14SMark JohnstonSet 1000Mbps (Gigabit Ethernet) operation (AX88178 only).
102da089c14SMark JohnstonThe
103da089c14SMark Johnston.Xr ifconfig 8
104da089c14SMark Johnston.Cm mediaopt
105da089c14SMark Johnstonoption can also be used to select either
106da089c14SMark Johnston.Cm full-duplex
107da089c14SMark Johnstonor
108da089c14SMark Johnston.Cm half-duplex
109da089c14SMark Johnstonmodes.
110da089c14SMark Johnston.El
111da089c14SMark Johnston.Pp
112da089c14SMark JohnstonThe
113da089c14SMark Johnston.Nm
114da089c14SMark Johnstondriver supports the following media options:
115da089c14SMark Johnston.Bl -tag -width ".Cm full-duplex"
116da089c14SMark Johnston.It Cm full-duplex
117da089c14SMark JohnstonForce full duplex operation.
118da089c14SMark Johnston.It Cm half-duplex
119da089c14SMark JohnstonForce half duplex operation.
120da089c14SMark Johnston.El
121da089c14SMark Johnston.Pp
122da089c14SMark JohnstonFor more information on configuring this device, see
123da089c14SMark Johnston.Xr ifconfig 8 .
124da089c14SMark Johnston.Sh SEE ALSO
125da089c14SMark Johnston.Xr altq 4 ,
126da089c14SMark Johnston.Xr arp 4 ,
127da089c14SMark Johnston.Xr miibus 4 ,
128da089c14SMark Johnston.Xr netintro 4 ,
129da089c14SMark Johnston.Xr ng_ether 4 ,
130da089c14SMark Johnston.Xr rgephy 4 ,
131da089c14SMark Johnston.Xr vlan 4 ,
132da089c14SMark Johnston.Xr ifconfig 8
133da089c14SMark Johnston.Sh HISTORY
134da089c14SMark JohnstonThe
135da089c14SMark Johnston.Nm
136da089c14SMark Johnstondevice driver first appeared in
137da089c14SMark Johnston.Fx 10.1 .
138da089c14SMark Johnston.Sh AUTHORS
1396c899950SBaptiste Daroussin.An -nosplit
140da089c14SMark JohnstonThe
141da089c14SMark Johnston.Nm
142da089c14SMark Johnstondriver was written by
1436c899950SBaptiste Daroussin.An Kevin Lo Aq Mt kevlo@FreeBSD.org
144da089c14SMark Johnstonand
1456c899950SBaptiste Daroussin.An Li-Wen Hsu Aq Mt lwhsu@FreeBSD.org .
146da089c14SMark JohnstonThis manual page was adapted by
1476c899950SBaptiste Daroussin.An Mark Johnston Aq Mt markj@FreeBSD.org
148da089c14SMark Johnstonfrom the
149da089c14SMark Johnston.Xr axe 4
150da089c14SMark Johnstonmanual page.
151