xref: /dflybsd-src/share/man/man4/ae.4 (revision 26595b188cbe468e3b07a13e2a5cfaa3de0d7843)
1245dd5f4SSepherosa Ziehau.\" Copyright (c) 2008 Stanislav Sedov <stas@FreeBSD.org>
2245dd5f4SSepherosa Ziehau.\" All rights reserved.
3245dd5f4SSepherosa Ziehau.\"
4245dd5f4SSepherosa Ziehau.\" Redistribution and use in source and binary forms, with or without
5245dd5f4SSepherosa Ziehau.\" modification, are permitted provided that the following conditions
6245dd5f4SSepherosa Ziehau.\" are met:
7245dd5f4SSepherosa Ziehau.\" 1. Redistributions of source code must retain the above copyright
8245dd5f4SSepherosa Ziehau.\"    notice, this list of conditions and the following disclaimer.
9245dd5f4SSepherosa Ziehau.\" 2. Redistributions in binary form must reproduce the above copyright
10245dd5f4SSepherosa Ziehau.\"    notice, this list of conditions and the following disclaimer in the
11245dd5f4SSepherosa Ziehau.\"    documentation and/or other materials provided with the distribution.
12245dd5f4SSepherosa Ziehau.\"
13245dd5f4SSepherosa Ziehau.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14245dd5f4SSepherosa Ziehau.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15245dd5f4SSepherosa Ziehau.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16245dd5f4SSepherosa Ziehau.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17245dd5f4SSepherosa Ziehau.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18245dd5f4SSepherosa Ziehau.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19245dd5f4SSepherosa Ziehau.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20245dd5f4SSepherosa Ziehau.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21245dd5f4SSepherosa Ziehau.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22245dd5f4SSepherosa Ziehau.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23245dd5f4SSepherosa Ziehau.\" SUCH DAMAGE.
24245dd5f4SSepherosa Ziehau.\"
25245dd5f4SSepherosa Ziehau.\" $FreeBSD: src/share/man/man4/ae.4,v 1.2.2.1.4.1 2009/04/15 03:14:26 kensmith Exp $
26245dd5f4SSepherosa Ziehau.\"
27*26595b18SSascha Wildner.Dd November 28, 2014
28245dd5f4SSepherosa Ziehau.Dt AE 4
29245dd5f4SSepherosa Ziehau.Os
30245dd5f4SSepherosa Ziehau.Sh NAME
31245dd5f4SSepherosa Ziehau.Nm ae
32245dd5f4SSepherosa Ziehau.Nd "Attansic/Atheros L2 FastEthernet controller driver"
33245dd5f4SSepherosa Ziehau.Sh SYNOPSIS
34245dd5f4SSepherosa ZiehauTo compile this driver into the kernel, place the following lines in your
35245dd5f4SSepherosa Ziehaukernel configuration file:
36245dd5f4SSepherosa Ziehau.Bd -ragged -offset indent
37245dd5f4SSepherosa Ziehau.Cd "device miibus"
38245dd5f4SSepherosa Ziehau.Cd "device ae"
39245dd5f4SSepherosa Ziehau.Ed
40245dd5f4SSepherosa Ziehau.Pp
41245dd5f4SSepherosa ZiehauAlternatively, to load the driver as a
42245dd5f4SSepherosa Ziehaumodule at boot time, place the following line in
43245dd5f4SSepherosa Ziehau.Xr loader.conf 5 :
440133958cSSascha Wildner.Bd -literal -offset indent
45245dd5f4SSepherosa Ziehauif_ae_load="YES"
46245dd5f4SSepherosa Ziehau.Ed
47245dd5f4SSepherosa Ziehau.Sh DESCRIPTION
48245dd5f4SSepherosa ZiehauThe
49245dd5f4SSepherosa Ziehau.Nm
50245dd5f4SSepherosa Ziehaudevice driver provides support for Attansic/Atheros L2 PCIe FastEthernet
51245dd5f4SSepherosa Ziehaucontrollers.
52245dd5f4SSepherosa Ziehau.Pp
53245dd5f4SSepherosa ZiehauThe controller supports hardware Ethernet checksum processing, hardware
54245dd5f4SSepherosa ZiehauVLAN tag stripping/insertion and an interrupt moderation mechanism.
55245dd5f4SSepherosa ZiehauAttansic L2 also features a 64-bit multicast hash filter.
56245dd5f4SSepherosa Ziehau.Pp
57245dd5f4SSepherosa ZiehauThe
58245dd5f4SSepherosa Ziehau.Nm
59245dd5f4SSepherosa Ziehaudriver supports the following media types:
60245dd5f4SSepherosa Ziehau.Bl -tag -width ".Cm 10baseT/UTP"
61245dd5f4SSepherosa Ziehau.It Cm autoselect
62245dd5f4SSepherosa ZiehauEnable autoselection of the media type and options.
63245dd5f4SSepherosa ZiehauThe user can manually override the autoselected mode by
64245dd5f4SSepherosa Ziehauadding media options to
65245dd5f4SSepherosa Ziehau.Xr rc.conf 5 .
66245dd5f4SSepherosa Ziehau.It Cm 10baseT/UTP
67245dd5f4SSepherosa ZiehauSelect 10Mbps operation.
68245dd5f4SSepherosa Ziehau.It Cm 100baseTX
69245dd5f4SSepherosa ZiehauSet 100Mbps (FastEthernet) operation.
70245dd5f4SSepherosa Ziehau.El
71245dd5f4SSepherosa Ziehau.Pp
72245dd5f4SSepherosa ZiehauThe
73245dd5f4SSepherosa Ziehau.Nm
74245dd5f4SSepherosa Ziehaudriver provides support for the following media options:
75245dd5f4SSepherosa Ziehau.Bl -tag -width ".Cm full-duplex"
76245dd5f4SSepherosa Ziehau.It Cm full-duplex
77245dd5f4SSepherosa ZiehauForce full duplex operation.
78245dd5f4SSepherosa Ziehau.It Cm half-duplex
79245dd5f4SSepherosa ZiehauForce half duplex operation.
80245dd5f4SSepherosa Ziehau.El
81245dd5f4SSepherosa Ziehau.Pp
82245dd5f4SSepherosa ZiehauFor more information on configuring this device, see
83245dd5f4SSepherosa Ziehau.Xr ifconfig 8 .
84245dd5f4SSepherosa Ziehau.Sh HARDWARE
85245dd5f4SSepherosa ZiehauThe
86245dd5f4SSepherosa Ziehau.Nm
87245dd5f4SSepherosa Ziehaudriver supports Attansic/Atheros L2 PCIe FastEthernet controllers, and
88245dd5f4SSepherosa Ziehauis known to support the following hardware:
89245dd5f4SSepherosa Ziehau.Pp
90245dd5f4SSepherosa Ziehau.Bl -bullet -compact
91245dd5f4SSepherosa Ziehau.It
92245dd5f4SSepherosa ZiehauASUS EeePC 701
93245dd5f4SSepherosa Ziehau.It
94245dd5f4SSepherosa ZiehauASUS EeePC 900
95245dd5f4SSepherosa Ziehau.El
96245dd5f4SSepherosa Ziehau.Pp
97245dd5f4SSepherosa ZiehauOther hardware may or may not work with this driver.
98245dd5f4SSepherosa Ziehau.Sh SYSCTL VARIABLES
99245dd5f4SSepherosa ZiehauThe
100245dd5f4SSepherosa Ziehau.Nm
101245dd5f4SSepherosa Ziehaudriver collects a number of useful MAC counter during the work.
102245dd5f4SSepherosa ZiehauThe statistics is available via the
103*26595b18SSascha Wildner.Va dev.ae.%d.stats
104245dd5f4SSepherosa Ziehau.Xr sysctl 8
105245dd5f4SSepherosa Ziehautree, where %d corresponds to the controller number.
106245dd5f4SSepherosa Ziehau.Sh DIAGNOSTICS
107245dd5f4SSepherosa Ziehau.Bl -diag
108245dd5f4SSepherosa Ziehau.It "ae%d: watchdog timeout."
109245dd5f4SSepherosa ZiehauThe device has stopped responding to the network, or there is a problem with
110245dd5f4SSepherosa Ziehauthe network connection (cable).
111245dd5f4SSepherosa Ziehau.It "ae%d: reset timeout."
112245dd5f4SSepherosa ZiehauThe card reset operation has been timed out.
113245dd5f4SSepherosa Ziehau.It "ae%d: Generating random ethernet address."
114245dd5f4SSepherosa ZiehauNo valid ethernet address was found neither in the controller registers not in
115245dd5f4SSepherosa ZiehauNVRAM.
116245dd5f4SSepherosa ZiehauRandom locally administered address with ASUS OUI identifier will be used
117245dd5f4SSepherosa Ziehauinstead.
118245dd5f4SSepherosa Ziehau.El
119245dd5f4SSepherosa Ziehau.Sh SEE ALSO
120245dd5f4SSepherosa Ziehau.Xr arp 4 ,
121245dd5f4SSepherosa Ziehau.Xr ifmedia 4 ,
122245dd5f4SSepherosa Ziehau.Xr miibus 4 ,
123245dd5f4SSepherosa Ziehau.Xr netintro 4 ,
124245dd5f4SSepherosa Ziehau.Xr ng_ether 4 ,
125245dd5f4SSepherosa Ziehau.Xr vlan 4 ,
126245dd5f4SSepherosa Ziehau.Xr ifconfig 8
127a68e0df0SSascha Wildner.Sh HISTORY
128a68e0df0SSascha WildnerThe
129a68e0df0SSascha Wildner.Nm
13097a96273SFranco Fichtnerdriver and this manual page were written by
131b2a6f486SFranco Fichtner.An Stanislav Sedov Aq Mt stas@FreeBSD.org .
132a68e0df0SSascha WildnerIt first appeared in
133a68e0df0SSascha Wildner.Fx 7.1 .
134245dd5f4SSepherosa Ziehau.Sh BUGS
135245dd5f4SSepherosa ZiehauThe Attansic L2 FastEthernet contoller supports DMA but do not use a descriptor
136245dd5f4SSepherosa Ziehaubased transfer mechanism via scatter-gather DMA.
137245dd5f4SSepherosa ZiehauThus the data should be copied to/from the controller memory on each
138245dd5f4SSepherosa Ziehautransmit/receive.
139245dd5f4SSepherosa ZiehauFurthermore, a lot of data alignment restrictions apply.
140245dd5f4SSepherosa ZiehauThis may introduce a high CPU load on systems with heavy network activity.
141245dd5f4SSepherosa ZiehauLuckily enough this should not be a problem on modern hardware as L2 does
142245dd5f4SSepherosa Ziehaunot support speeds faster than 100Mbps.
143