199fe2010SSepherosa Ziehau.\" Copyright (c) 2008 Pyun YongHyeon 299fe2010SSepherosa Ziehau.\" All rights reserved. 399fe2010SSepherosa Ziehau.\" 499fe2010SSepherosa Ziehau.\" Redistribution and use in source and binary forms, with or without 599fe2010SSepherosa Ziehau.\" modification, are permitted provided that the following conditions 699fe2010SSepherosa Ziehau.\" are met: 799fe2010SSepherosa Ziehau.\" 1. Redistributions of source code must retain the above copyright 899fe2010SSepherosa Ziehau.\" notice, this list of conditions and the following disclaimer. 999fe2010SSepherosa Ziehau.\" 2. Redistributions in binary form must reproduce the above copyright 1099fe2010SSepherosa Ziehau.\" notice, this list of conditions and the following disclaimer in the 1199fe2010SSepherosa Ziehau.\" documentation and/or other materials provided with the distribution. 1299fe2010SSepherosa Ziehau.\" 1399fe2010SSepherosa Ziehau.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1499fe2010SSepherosa Ziehau.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1599fe2010SSepherosa Ziehau.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1699fe2010SSepherosa Ziehau.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1799fe2010SSepherosa Ziehau.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1899fe2010SSepherosa Ziehau.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1999fe2010SSepherosa Ziehau.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2099fe2010SSepherosa Ziehau.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2199fe2010SSepherosa Ziehau.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2299fe2010SSepherosa Ziehau.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2399fe2010SSepherosa Ziehau.\" SUCH DAMAGE. 2499fe2010SSepherosa Ziehau.\" 2599fe2010SSepherosa Ziehau.\" $FreeBSD: src/share/man/man4/ale.4,v 1.2 2008/11/29 18:09:50 brueffer Exp $ 2699fe2010SSepherosa Ziehau.\" 27*26595b18SSascha Wildner.Dd November 28, 2014 2899fe2010SSepherosa Ziehau.Dt ALE 4 2999fe2010SSepherosa Ziehau.Os 3099fe2010SSepherosa Ziehau.Sh NAME 3199fe2010SSepherosa Ziehau.Nm ale 3299fe2010SSepherosa Ziehau.Nd Atheros AR8121/AR8113/AR8114 Gigabit/Fast Ethernet driver 3399fe2010SSepherosa Ziehau.Sh SYNOPSIS 3499fe2010SSepherosa ZiehauTo compile this driver into the kernel, 3599fe2010SSepherosa Ziehauplace the following lines in your 3699fe2010SSepherosa Ziehaukernel configuration file: 3799fe2010SSepherosa Ziehau.Bd -ragged -offset indent 3899fe2010SSepherosa Ziehau.Cd "device miibus" 3999fe2010SSepherosa Ziehau.Cd "device ale" 4099fe2010SSepherosa Ziehau.Ed 4199fe2010SSepherosa Ziehau.Pp 4299fe2010SSepherosa ZiehauAlternatively, to load the driver as a 4399fe2010SSepherosa Ziehaumodule at boot time, place the following line in 4499fe2010SSepherosa Ziehau.Xr loader.conf 5 : 4599fe2010SSepherosa Ziehau.Bd -literal -offset indent 4699fe2010SSepherosa Ziehauif_ale_load="YES" 4799fe2010SSepherosa Ziehau.Ed 4899fe2010SSepherosa Ziehau.Sh DESCRIPTION 4999fe2010SSepherosa ZiehauThe 5099fe2010SSepherosa Ziehau.Nm 5199fe2010SSepherosa Ziehaudevice driver provides support for Atheros AR8121 PCI Express 5299fe2010SSepherosa ZiehauGigabit Ethernet controllers and Atheros AR8113/AR8114 PCI 5399fe2010SSepherosa ZiehauExpress Fast Ethernet controllers. 5499fe2010SSepherosa Ziehau.Pp 5599fe2010SSepherosa ZiehauAll LOMs supported by the 5699fe2010SSepherosa Ziehau.Nm 5799fe2010SSepherosa Ziehaudriver have TCP/UDP/IP checksum offload for both receive and transmit, 5899fe2010SSepherosa Ziehauhardware VLAN tag stripping/insertion features and 5999fe2010SSepherosa Ziehauan interrupt coalescing/moderation 6099fe2010SSepherosa Ziehaumechanism as well as a 64-bit multicast hash filter. 6199fe2010SSepherosa Ziehau.Pp 6299fe2010SSepherosa ZiehauThe AR8121 also supports Jumbo Frames (up to 8132 bytes), 6399fe2010SSepherosa Ziehauwhich can be configured via the interface MTU setting. 6499fe2010SSepherosa ZiehauSelecting an MTU larger than 1500 bytes with the 6599fe2010SSepherosa Ziehau.Xr ifconfig 8 6699fe2010SSepherosa Ziehauutility configures the adapter to receive and transmit Jumbo Frames. 6799fe2010SSepherosa Ziehau.Pp 6899fe2010SSepherosa ZiehauThe 6999fe2010SSepherosa Ziehau.Nm 7099fe2010SSepherosa Ziehaudriver supports the following media types: 7199fe2010SSepherosa Ziehau.Bl -tag -width ".Cm 10baseT/UTP" 7299fe2010SSepherosa Ziehau.It Cm autoselect 7399fe2010SSepherosa ZiehauEnable autoselection of the media type and options. 7499fe2010SSepherosa ZiehauThe user can manually override 7599fe2010SSepherosa Ziehauthe autoselected mode by adding media options to 7699fe2010SSepherosa Ziehau.Xr rc.conf 5 . 7799fe2010SSepherosa Ziehau.It Cm 10baseT/UTP 7899fe2010SSepherosa ZiehauSet 10Mbps operation. 7999fe2010SSepherosa Ziehau.It Cm 100baseTX 8099fe2010SSepherosa ZiehauSet 100Mbps (Fast Ethernet) operation. 8199fe2010SSepherosa Ziehau.It Cm 1000baseT 8299fe2010SSepherosa ZiehauSet 1000baseT operation over twisted pair. 8399fe2010SSepherosa Ziehau.El 8499fe2010SSepherosa Ziehau.Pp 8599fe2010SSepherosa ZiehauThe 8699fe2010SSepherosa Ziehau.Nm 8799fe2010SSepherosa Ziehaudriver supports the following media options: 8899fe2010SSepherosa Ziehau.Bl -tag -width ".Cm full-duplex" 8999fe2010SSepherosa Ziehau.It Cm full-duplex 9099fe2010SSepherosa ZiehauForce full duplex operation. 9199fe2010SSepherosa Ziehau.It Cm half-duplex 9299fe2010SSepherosa ZiehauForce half duplex operation. 9399fe2010SSepherosa Ziehau.El 9499fe2010SSepherosa Ziehau.Pp 9599fe2010SSepherosa ZiehauFor more information on configuring this device, see 9699fe2010SSepherosa Ziehau.Xr ifconfig 8 . 9799fe2010SSepherosa Ziehau.Sh HARDWARE 9899fe2010SSepherosa ZiehauThe 9999fe2010SSepherosa Ziehau.Nm 10099fe2010SSepherosa Ziehaudevice driver provides support for the following Ethernet controllers: 10199fe2010SSepherosa Ziehau.Pp 10299fe2010SSepherosa Ziehau.Bl -bullet -compact 10399fe2010SSepherosa Ziehau.It 10499fe2010SSepherosa ZiehauAtheros AR8113 PCI Express Fast Ethernet controller 10599fe2010SSepherosa Ziehau.It 10699fe2010SSepherosa ZiehauAtheros AR8114 PCI Express Fast Ethernet controller 10799fe2010SSepherosa Ziehau.It 10899fe2010SSepherosa ZiehauAtheros AR8121 PCI Express Gigabit Ethernet controller 10999fe2010SSepherosa Ziehau.El 11099fe2010SSepherosa Ziehau.Sh SYSCTL VARIABLES 111*26595b18SSascha Wildner.\"The following variables are available as both 112*26595b18SSascha Wildner.\".Xr sysctl 8 113*26595b18SSascha Wildner.\"variables and 114*26595b18SSascha Wildner.\".Xr loader 8 115*26595b18SSascha Wildner.\"tunables: 11699fe2010SSepherosa Ziehau.Bl -tag -width "xxxxxx" 117*26595b18SSascha Wildner.It Va dev.ale.%d.int_rx_mod 11899fe2010SSepherosa ZiehauMaximum amount of time to delay receive interrupt processing in 11999fe2010SSepherosa Ziehauunits of 1us. 12099fe2010SSepherosa ZiehauThe accepted range is 0 to 130000, the default is 30(30us). 12199fe2010SSepherosa ZiehauValue 0 completely disables the interrupt moderation. 122*26595b18SSascha Wildner.It Va dev.ale.%d.int_tx_mod 12399fe2010SSepherosa ZiehauMaximum amount of time to delay transmit interrupt processing in 12499fe2010SSepherosa Ziehauunits of 1us. 12599fe2010SSepherosa ZiehauThe accepted range is 0 to 130000, the default is 1000(1ms). 12699fe2010SSepherosa ZiehauValue 0 completely disables the interrupt moderation. 12799fe2010SSepherosa Ziehau.El 12899fe2010SSepherosa Ziehau.Sh SEE ALSO 12999fe2010SSepherosa Ziehau.Xr altq 4 , 13099fe2010SSepherosa Ziehau.Xr arp 4 , 131b721319dSSascha Wildner.Xr ifmedia 4 , 13299fe2010SSepherosa Ziehau.Xr miibus 4 , 13399fe2010SSepherosa Ziehau.Xr netintro 4 , 13499fe2010SSepherosa Ziehau.Xr ng_ether 4 , 13599fe2010SSepherosa Ziehau.Xr vlan 4 , 13699fe2010SSepherosa Ziehau.Xr ifconfig 8 13799fe2010SSepherosa Ziehau.Sh HISTORY 13899fe2010SSepherosa ZiehauThe 13999fe2010SSepherosa Ziehau.Nm 14099fe2010SSepherosa Ziehaudriver was written by 141b2a6f486SFranco Fichtner.An Pyun YongHyeon Aq Mt yongari@FreeBSD.org . 14299fe2010SSepherosa ZiehauIt first appeared in 14399fe2010SSepherosa Ziehau.Fx 7.1 . 144