head	1.53;
access;
symbols
	RELENG_8_4:1.50.0.2
	RELENG_9_1_0_RELEASE:1.27.2.2.2.2
	RELENG_9_1:1.27.2.2.0.2
	RELENG_9_1_BP:1.27.2.2
	RELENG_8_3_0_RELEASE:1.9.2.5.6.1
	RELENG_8_3:1.9.2.5.0.6
	RELENG_8_3_BP:1.9.2.5
	RELENG_9_0_0_RELEASE:1.27.2.1.2.1
	RELENG_9_0:1.27.2.1.0.2
	RELENG_9_0_BP:1.27.2.1
	RELENG_9:1.27.0.2
	RELENG_9_BP:1.27
	RELENG_7_4_0_RELEASE:1.5.2.1.6.1
	RELENG_8_2_0_RELEASE:1.9.2.5.4.1
	RELENG_7_4:1.5.2.1.0.6
	RELENG_7_4_BP:1.5.2.1
	RELENG_8_2:1.9.2.5.0.4
	RELENG_8_2_BP:1.9.2.5
	RELENG_8_1_0_RELEASE:1.9.2.5.2.1
	RELENG_8_1:1.9.2.5.0.2
	RELENG_8_1_BP:1.9.2.5
	RELENG_7_3_0_RELEASE:1.5.2.1.4.1
	RELENG_7_3:1.5.2.1.0.4
	RELENG_7_3_BP:1.5.2.1
	RELENG_8_0_0_RELEASE:1.9.2.1.2.1
	RELENG_8_0:1.9.2.1.0.2
	RELENG_8_0_BP:1.9.2.1
	RELENG_8:1.9.0.2
	RELENG_8_BP:1.9
	RELENG_7_2_0_RELEASE:1.5.2.1.2.1
	RELENG_7_2:1.5.2.1.0.2
	RELENG_7_2_BP:1.5.2.1
	RELENG_7_1_0_RELEASE:1.5.6.1
	RELENG_6_4_0_RELEASE:1.1.10.2.6.1
	RELENG_7_1:1.5.0.6
	RELENG_7_1_BP:1.5
	RELENG_6_4:1.1.10.2.0.6
	RELENG_6_4_BP:1.1.10.2
	RELENG_7_0_0_RELEASE:1.5
	RELENG_6_3_0_RELEASE:1.1.10.2
	RELENG_7_0:1.5.0.4
	RELENG_7_0_BP:1.5
	RELENG_6_3:1.1.10.2.0.4
	RELENG_6_3_BP:1.1.10.2
	RELENG_7:1.5.0.2
	RELENG_7_BP:1.5
	RELENG_6_2_0_RELEASE:1.1.10.2
	RELENG_6_2:1.1.10.2.0.2
	RELENG_6_2_BP:1.1.10.2
	RELENG_5_5_0_RELEASE:1.1
	RELENG_5_5:1.1.0.14
	RELENG_5_5_BP:1.1
	RELENG_6_1_0_RELEASE:1.1.10.1
	RELENG_6_1:1.1.10.1.0.2
	RELENG_6_1_BP:1.1.10.1
	RELENG_6_0_0_RELEASE:1.1
	RELENG_6_0:1.1.0.12
	RELENG_6_0_BP:1.1
	RELENG_6:1.1.0.10
	RELENG_6_BP:1.1
	RELENG_5_4_0_RELEASE:1.1
	RELENG_5_4:1.1.0.8
	RELENG_5_4_BP:1.1
	RELENG_5_3_0_RELEASE:1.1
	RELENG_5_3:1.1.0.6
	RELENG_5_3_BP:1.1
	RELENG_5:1.1.0.4
	RELENG_5_BP:1.1
	RELENG_5_2_1_RELEASE:1.1
	RELENG_5_2_0_RELEASE:1.1
	RELENG_5_2:1.1.0.2
	RELENG_5_2_BP:1.1;
locks; strict;
comment	@# @;


1.53
date	2013.06.13.00.33.06;	author svnexp;	state Exp;
branches;
next	1.52;

1.52
date	2013.06.08.00.31.37;	author svnexp;	state Exp;
branches;
next	1.51;

1.51
date	2013.05.03.00.28.38;	author svnexp;	state Exp;
branches;
next	1.50;

1.50
date	2013.03.14.04.05.26;	author svnexp;	state Exp;
branches
	1.50.2.1;
next	1.49;

1.49
date	2013.03.12.06.41.01;	author svnexp;	state Exp;
branches;
next	1.48;

1.48
date	2013.03.09.07.21.19;	author svnexp;	state Exp;
branches;
next	1.47;

1.47
date	2013.01.02.04.01.39;	author svnexp;	state Exp;
branches;
next	1.46;

1.46
date	2013.01.02.01.25.44;	author svnexp;	state Exp;
branches;
next	1.45;

1.45
date	2012.12.03.23.40.24;	author svnexp;	state Exp;
branches;
next	1.44;

1.44
date	2012.12.03.23.39.29;	author svnexp;	state Exp;
branches;
next	1.43;

1.43
date	2012.11.17.01.52.53;	author svnexp;	state Exp;
branches;
next	1.42;

1.42
date	2012.08.29.18.14.20;	author dim;	state Exp;
branches;
next	1.41;

1.41
date	2012.08.20.18.33.03;	author dim;	state Exp;
branches;
next	1.40;

1.40
date	2012.07.23.03.52.18;	author adrian;	state Exp;
branches;
next	1.39;

1.39
date	2012.07.03.07.01.12;	author adrian;	state Exp;
branches;
next	1.38;

1.38
date	2012.05.20.04.14.29;	author adrian;	state Exp;
branches;
next	1.37;

1.37
date	2012.05.20.02.49.42;	author adrian;	state Exp;
branches;
next	1.36;

1.36
date	2012.05.20.02.05.25;	author adrian;	state Exp;
branches;
next	1.35;

1.35
date	2012.02.20.03.07.07;	author adrian;	state Exp;
branches;
next	1.34;

1.34
date	2012.01.05.06.22.09;	author adrian;	state Exp;
branches;
next	1.33;

1.33
date	2011.12.26.05.37.09;	author adrian;	state Exp;
branches;
next	1.32;

1.32
date	2011.12.22.23.40.52;	author dim;	state Exp;
branches;
next	1.31;

1.31
date	2011.12.21.22.13.50;	author dim;	state Exp;
branches;
next	1.30;

1.30
date	2011.11.10.23.16.59;	author adrian;	state Exp;
branches;
next	1.29;

1.29
date	2011.11.10.17.01.34;	author adrian;	state Exp;
branches;
next	1.28;

1.28
date	2011.11.09.23.37.13;	author adrian;	state Exp;
branches;
next	1.27;

1.27
date	2011.06.01.20.09.49;	author adrian;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2011.05.26.20.31.08;	author adrian;	state Exp;
branches;
next	1.25;

1.25
date	2011.04.28.12.47.40;	author adrian;	state Exp;
branches;
next	1.24;

1.24
date	2011.04.13.11.32.15;	author adrian;	state Exp;
branches;
next	1.23;

1.23
date	2011.04.13.02.40.45;	author adrian;	state Exp;
branches;
next	1.22;

1.22
date	2011.03.31.08.07.13;	author adrian;	state Exp;
branches;
next	1.21;

1.21
date	2011.03.11.11.58.54;	author adrian;	state Exp;
branches;
next	1.20;

1.20
date	2011.03.08.06.59.59;	author adrian;	state Exp;
branches;
next	1.19;

1.19
date	2011.03.02.17.19.54;	author adrian;	state Exp;
branches;
next	1.18;

1.18
date	2011.03.02.16.03.19;	author adrian;	state Exp;
branches;
next	1.17;

1.17
date	2011.02.01.08.03.01;	author adrian;	state Exp;
branches;
next	1.16;

1.16
date	2011.01.29.11.35.23;	author adrian;	state Exp;
branches;
next	1.15;

1.15
date	2011.01.29.05.08.21;	author adrian;	state Exp;
branches;
next	1.14;

1.14
date	2011.01.20.09.03.40;	author adrian;	state Exp;
branches;
next	1.13;

1.13
date	2010.03.03.20.01.31;	author rpaulo;	state Exp;
branches;
next	1.12;

1.12
date	2010.03.02.12.51.39;	author rpaulo;	state Exp;
branches;
next	1.11;

1.11
date	2010.01.31.14.25.09;	author rpaulo;	state Exp;
branches;
next	1.10;

1.10
date	2010.01.31.13.39.08;	author rpaulo;	state Exp;
branches;
next	1.9;

1.9
date	2009.03.30.19.23.49;	author sam;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2008.12.14.22.26.57;	author sam;	state Exp;
branches;
next	1.7;

1.7
date	2008.12.02.21.37.28;	author bz;	state Exp;
branches;
next	1.6;

1.6
date	2008.12.01.16.53.01;	author sam;	state Exp;
branches;
next	1.5;

1.5
date	2007.01.28.04.38.35;	author sam;	state Exp;
branches
	1.5.2.1
	1.5.6.1;
next	1.4;

1.4
date	2006.09.18.16.49.15;	author sam;	state Exp;
branches;
next	1.3;

1.3
date	2006.04.03.18.14.02;	author sam;	state Exp;
branches;
next	1.2;

1.2
date	2005.09.27.18.10.32;	author mlaier;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.23.17.02.43;	author sam;	state Exp;
branches
	1.1.10.1;
next	;

1.50.2.1
date	2013.03.14.04.05.26;	author svnexp;	state dead;
branches;
next	1.50.2.2;

1.50.2.2
date	2013.03.28.13.05.18;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.27.2.1.2.1;
next	1.27.2.2;

1.27.2.2
date	2012.01.02.13.01.57;	author dim;	state Exp;
branches
	1.27.2.2.2.1;
next	1.27.2.3;

1.27.2.3
date	2012.11.17.11.37.16;	author svnexp;	state Exp;
branches;
next	1.27.2.4;

1.27.2.4
date	2013.01.14.20.03.26;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.27.2.1.2.2;

1.27.2.1.2.2
date	2012.11.17.08.37.12;	author svnexp;	state Exp;
branches;
next	;

1.27.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.27.2.2.2.2;

1.27.2.2.2.2
date	2012.11.17.08.48.03;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.9.2.1.2.1;
next	1.9.2.2;

1.9.2.2
date	2010.03.02.13.13.12;	author rpaulo;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2010.03.03.20.06.50;	author rpaulo;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	2010.03.03.20.08.12;	author rpaulo;	state Exp;
branches;
next	1.9.2.5;

1.9.2.5
date	2010.03.03.20.28.35;	author rpaulo;	state Exp;
branches
	1.9.2.5.2.1
	1.9.2.5.4.1
	1.9.2.5.6.1;
next	1.9.2.6;

1.9.2.6
date	2012.11.17.10.36.55;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.9.2.5.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.9.2.5.4.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.9.2.5.6.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.9.2.5.6.2;

1.9.2.5.6.2
date	2012.11.17.08.25.32;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1
date	2009.03.12.03.09.11;	author bms;	state Exp;
branches
	1.5.2.1.2.1
	1.5.2.1.4.1
	1.5.2.1.6.1;
next	1.5.2.2;

1.5.2.2
date	2012.11.17.08.06.44;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1.2.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.5.2.1.4.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.5.2.1.6.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.5.2.1.6.2;

1.5.2.1.6.2
date	2012.11.17.08.17.26;	author svnexp;	state Exp;
branches;
next	;

1.5.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.1.10.1
date	2006.04.04.23.55.33;	author sam;	state Exp;
branches;
next	1.1.10.2;

1.1.10.2
date	2006.10.16.01.26.14;	author sam;	state Exp;
branches
	1.1.10.2.6.1;
next	1.1.10.3;

1.1.10.3
date	2012.11.17.07.44.15;	author svnexp;	state Exp;
branches;
next	;

1.1.10.2.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.53
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251655
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#
# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer,
#    without modification.
# 2. Redistributions in binary form must reproduce at minimum a disclaimer
#    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
#    redistribution must be conditioned upon including a substantially
#    similar Disclaimer requirement for further binary redistribution.
#
# NO WARRANTY
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGES.
#
# $FreeBSD: head/sys/modules/ath/Makefile 251655 2013-06-12 14:52:57Z adrian $
#

ATH_RATE?=	sample		# tx rate control algorithm

.PATH:	${.CURDIR}/../../dev/ath
.PATH:	${.CURDIR}/../../dev/ath/ath_hal

KMOD=	if_ath
SRCS=	if_ath.c if_ath_alq.c if_ath_debug.c if_ath_keycache.c if_ath_sysctl.c
SRCS+=	if_ath_tx.c if_ath_tx_ht.c if_ath_led.c if_ath_rx.c if_ath_tdma.c
SRCS+=	if_ath_beacon.c if_ath_rx_edma.c if_ath_tx_edma.c if_ath_spectral.c
SRCS+=	if_ath_btcoex.c if_ath_lna_div.c
# NB: v3 eeprom support used by both AR5211 and AR5212; just include it
SRCS+=	ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.c
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h opt_wlan.h

#
# AR5210 support; these are first generation 11a-only devices.
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5210
SRCS+=	ah_eeprom_v1.c \
	ar5210_attach.c ar5210_beacon.c ar5210_interrupts.c \
	ar5210_keycache.c ar5210_misc.c ar5210_phy.c ar5210_power.c \
	ar5210_recv.c ar5210_reset.c ar5210_xmit.c

#
# AR5211 support; these are second generation 11b/g/a devices
# (but 11g was OFDM only and is not supported).
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5211
SRCS+=	ar5211_attach.c ar5211_beacon.c ar5211_interrupts.c \
	ar5211_keycache.c ar5211_misc.c	ar5211_phy.c ar5211_power.c \
	ar5211_recv.c ar5211_reset.c ar5211_xmit.c

#
# AR5212 support; this covers all other pci/cardbus legacy parts.
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5212
SRCS+=	ar5212_ani.c ar5212_attach.c ar5212_beacon.c ar5212_eeprom.c \
	ar5212_gpio.c ar5212_interrupts.c ar5212_keycache.c ar5212_misc.c \
	ar5212_phy.c ar5212_power.c ar5212_recv.c ar5212_reset.c \
	ar5212_rfgain.c ar5212_xmit.c
# RF backends
SRCS+=	ar5111.c
SRCS+=	ar5112.c
SRCS+=	ar2413.c
SRCS+=	ar2425.c
SRCS+=	ar5413.c

#
# AR5416, AR9130, AR9160, AR9220, AR9280, AR9285, AR9287 support.

# Note enabling this support requires defining AH_SUPPORT_AR5416
# in opt_ah.h so the 11n tx/rx descriptor format is handled.
#
# NB: 9160 depends on 5416 but 5416 does not require 9160
#
# + 5416 (Owl)
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5416
SRCS+=	ah_eeprom_v14.c ah_eeprom_v4k.c \
	ar5416_ani.c ar5416_attach.c ar5416_beacon.c ar5416_btcoex.c \
	ar5416_cal.c ar5416_cal_iq.c ar5416_cal_adcgain.c ar5416_cal_adcdc.c \
	ar5416_eeprom.c ar5416_gpio.c ar5416_interrupts.c ar5416_keycache.c \
	ar5416_misc.c ar5416_phy.c ar5416_power.c ar5416_radar.c ar5416_spectral.c \
	ar5416_recv.c ar5416_reset.c ar5416_xmit.c

# RF backend for 5416, 9130 and 9160
SRCS+=	ar2133.c

# + AR9160 (Sowl)
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar9001
SRCS+=	ar9160_attach.c

# + AR9130 - (Sowl) - Embedded (AR913x SoC)
#
# This requires AH_SUPPORT_AR9130 in order to function as some
# register values have shifted for this chipset. Definig this however
# (currently) breaks non-AR9130 chipsets - since this is an embedded
# chipset and no other radios are glued to it, this shouldn't pose a
# problem.
SRCS+=	ar9130_attach.c ar9130_eeprom.c ar9130_phy.c

# AR9002 series chips
# + AR9220/AR9280 - Merlin
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar9002
SRCS+=	ar9280.c ar9280_attach.c ar9280_olc.c

# + AR9285 - Kite
SRCS+=	ar9285.c ar9285_reset.c ar9285_attach.c ar9285_cal.c ar9285_phy.c
SRCS+=	ar9285_diversity.c ar9285_btcoex.c

# + AR9287 - Kiwi
.PATH:  ${.CURDIR}/../../dev/ath/ath_hal
SRCS+=  ah_eeprom_9287.c
.PATH:  ${.CURDIR}/../../dev/ath/ath_hal/ar9002
SRCS+=  ar9287.c ar9287_reset.c ar9287_attach.c ar9287_cal.c ar9287_olc.c

# + AR9300 HAL
.PATH:  ${.CURDIR}/../../contrib/dev/ath/ath_hal/ar9300
SRCS+= ar9300_interrupts.c ar9300_radar.c ar9300_ani.c ar9300_keycache.c
SRCS+= ar9300_radio.c ar9300_xmit.c ar9300_attach.c ar9300_mci.c ar9300_stub.c
SRCS+= ar9300_xmit_ds.c ar9300_beacon.c ar9300_misc.c ar9300_recv.c
SRCS+= ar9300_stub_funcs.c ar9300_eeprom.c ar9300_paprd.c ar9300_recv_ds.c
SRCS+= ar9300_freebsd.c ar9300_phy.c ar9300_reset.c ar9300_gpio.c
SRCS+= ar9300_power.c ar9300_timer.c

# NB: rate control is bound to the driver by symbol names so only pick one
.if ${ATH_RATE} == "sample"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/sample
SRCS+=	sample.c
.elif ${ATH_RATE} == "onoe"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/onoe
SRCS+=	onoe.c
.elif ${ATH_RATE} == "amrr"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/amrr
SRCS+=	amrr.c
.endif

# DFS
.PATH: ${.CURDIR}/../../dev/ath/ath_dfs/null
SRCS+=	dfs_null.c

CFLAGS+=  -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal
CFLAGS+=  -I. -I${.CURDIR}/../../contrib/dev/ath/ath_hal/

.if !defined(KERNBUILDDIR)
opt_ah.h:
	echo '#define AH_SUPPORT_AR5416 1' > $@@
.endif

.include <bsd.kmod.mk>

CWARNFLAGS.ah_regdomain.c=	${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}
# XXX Work around clang warnings, until maintainer approves fix.
CWARNFLAGS.if_ath.c=		${NO_WSOMETIMES_UNINITIALIZED}
CWARNFLAGS+=			${CWARNFLAGS.${.IMPSRC:T}}

# AR9300 HAL build overrides, as there's still some code to tidy up
CWARNFLAGS.ar9300_eeprom.c=	${NO_WCONSTANT_CONVERSION}
CWARNFLAGS.ar9300_reset.c=	${NO_WSOMETIMES_UNINITIALIZED}
@


1.52
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251487
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 251487 2013-06-07 09:02:02Z adrian $
d41 1
a41 1
SRCS+=	if_ath_btcoex.c
@


1.51
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250173
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 250173 2013-05-02 07:05:34Z adrian $
d41 1
@


1.50
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248259
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 248259 2013-03-14 00:27:53Z adrian $
d127 7
a133 7
# .PATH:  ${.CURDIR}/../../contrib/sys/dev/ath/ath_hal/ar9300
#SRCS+= ar9300_interrupts.c ar9300_radar.c ar9300_ani.c ar9300_keycache.c
#SRCS+= ar9300_radio.c ar9300_xmit.c ar9300_attach.c ar9300_mci.c ar9300_stub.c
#SRCS+= ar9300_xmit_ds.c ar9300_beacon.c ar9300_misc.c ar9300_recv.c
#SRCS+= ar9300_stub_funcs.c ar9300_eeprom.c ar9300_paprd.c ar9300_recv_ds.c
#SRCS+= ar9300_freebsd.c ar9300_phy.c ar9300_reset.c ar9300_gpio.c
#SRCS+= ar9300_power.c ar9300_timer.c
d152 1
a152 1
# CFLAGS+=  -I. -I${.CURDIR}/../../contrib/sys/dev/ath/ath_hal/
d167 2
a168 2
#CWARNFLAGS.ar9300_eeprom.c=	${NO_WCONSTANT_CONVERSION}
#CWARNFLAGS.ar9300_reset.c=	${NO_WSOMETIMES_UNINITIALIZED}
@


1.50.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:18 +0000
@
text
@d1 168
@


1.50.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 115
#
# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer,
#    without modification.
# 2. Redistributions in binary form must reproduce at minimum a disclaimer
#    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
#    redistribution must be conditioned upon including a substantially
#    similar Disclaimer requirement for further binary redistribution.
#
# NO WARRANTY
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGES.
#
# $FreeBSD: releng/8.4/sys/modules/ath/Makefile 204660 2010-03-03 20:28:35Z rpaulo $
#

ATH_RATE?=	sample		# tx rate control algorithm

.PATH:	${.CURDIR}/../../dev/ath
.PATH:	${.CURDIR}/../../dev/ath/ath_hal

KMOD=	if_ath
SRCS=	if_ath.c if_ath_pci.c
# NB: v3 eeprom support used by both AR5211 and AR5212; just include it
SRCS+=	ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.c
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h opt_wlan.h

#
# AR5210 support; these are first generation 11a-only devices.
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5210
SRCS+=	ah_eeprom_v1.c \
	ar5210_attach.c ar5210_beacon.c ar5210_interrupts.c \
	ar5210_keycache.c ar5210_misc.c ar5210_phy.c ar5210_power.c \
	ar5210_recv.c ar5210_reset.c ar5210_xmit.c

#
# AR5211 support; these are second generation 11b/g/a devices
# (but 11g was OFDM only and is not supported).
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5211
SRCS+=	ar5211_attach.c ar5211_beacon.c ar5211_interrupts.c \
	ar5211_keycache.c ar5211_misc.c	ar5211_phy.c ar5211_power.c \
	ar5211_recv.c ar5211_reset.c ar5211_xmit.c

#
# AR5212 support; this covers all other pci/cardbus legacy parts.
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5212
SRCS+=	ar5212_ani.c ar5212_attach.c ar5212_beacon.c ar5212_eeprom.c \
	ar5212_gpio.c ar5212_interrupts.c ar5212_keycache.c ar5212_misc.c \
	ar5212_phy.c ar5212_power.c ar5212_recv.c ar5212_reset.c \
	ar5212_rfgain.c ar5212_xmit.c
# RF backends
SRCS+=	ar5111.c
SRCS+=	ar5112.c
SRCS+=	ar2413.c
SRCS+=	ar2425.c
SRCS+=	ar5413.c

#
# AR5416, AR9160 support; these are 11n parts but only really
# supported (right now) operating in legacy mode.  Note enabling
# this support requires defining AH_SUPPORT_AR5416 in opt_ah.h
# so the 11n tx/rx descriptor format is handled.
#
# NB: 9160 depends on 5416 but 5416 does not require 9160
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5416
SRCS+=	ah_eeprom_v14.c \
	ah_eeprom_v4k.c \
	ar5416_ani.c ar5416_attach.c ar5416_beacon.c ar5416_cal.c \
	ar5416_cal_iq.c ar5416_cal_adcgain.c ar5416_cal_adcdc.c \
	ar5416_eeprom.c ar5416_gpio.c ar5416_interrupts.c ar5416_keycache.c \
	ar5416_misc.c ar5416_phy.c ar5416_power.c ar5416_recv.c \
	ar5416_reset.c ar5416_xmit.c
SRCS+=	ar9160_attach.c
# RF backend for 5416 and 9160
SRCS+=	ar2133.c
SRCS+=	ar9280.c ar9280_attach.c
SRCS+=	ar9285.c ar9285_reset.c ar9285_attach.c

# NB: rate control is bound to the driver by symbol names so only pick one
.if ${ATH_RATE} == "sample"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/sample
SRCS+=	sample.c
.elif ${ATH_RATE} == "onoe"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/onoe
SRCS+=	onoe.c
.elif ${ATH_RATE} == "amrr"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/amrr
SRCS+=	amrr.c
.endif

CFLAGS+=  -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal

opt_ah.h:
	echo '#define AH_SUPPORT_AR5416 1' > $@@

.include <bsd.kmod.mk>
@


1.49
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248181
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 248181 2013-03-12 02:54:49Z adrian $
d165 4
@


1.48
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248079
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 248079 2013-03-09 01:05:36Z adrian $
d127 1
a127 1
# .PATH:  ${.CURDIR}/../../dev/ath/ath_hal/ar9003
d152 1
@


1.47
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244952
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 244952 2013-01-02 04:00:54Z adrian $
d126 9
@


1.46
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244945
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 244945 2013-01-02 01:24:36Z adrian $
d40 1
a40 1
SRCS+=	if_ath_beacon.c if_ath_rx_edma.c if_ath_tx_edma.c
@


1.45
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243838
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 243838 2012-12-03 23:38:08Z adrian $
d92 1
a92 1
	ar5416_misc.c ar5416_phy.c ar5416_power.c ar5416_radar.c \
@


1.44
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243837
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 243837 2012-12-03 23:36:03Z adrian $
d89 2
a90 2
	ar5416_ani.c ar5416_attach.c ar5416_beacon.c ar5416_cal.c \
	ar5416_cal_iq.c ar5416_cal_adcgain.c ar5416_cal_adcdc.c \
d118 1
a118 1
SRCS+=	ar9285_diversity.c
@


1.43
log
@Switching exporter and resync
@
text
@d29 1
a29 1
# $FreeBSD: head/sys/modules/ath/Makefile 239868 2012-08-29 18:14:20Z dim $
d38 1
a38 1
SRCS=	if_ath.c if_ath_debug.c if_ath_keycache.c if_ath_sysctl.c
@


1.42
log
@SVN rev 239868 on 2012-08-29 18:14:20Z by dim

Remove workaround for the clang 3.2 warning in ah_eeprom_9287.c, since
the fix has been applied now.
@
text
@d29 1
a29 1
# $FreeBSD$
@


1.41
log
@SVN rev 239462 on 2012-08-20 18:33:03Z by dim

Upgrade our copy of llvm/clang to trunk r162107.  With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
@
text
@a152 1
CWARNFLAGS.ah_eeprom_9287.c=	${NO_WSOMETIMES_UNINITIALIZED}
@


1.40
log
@SVN rev 238710 on 2012-07-23 03:52:18Z by adrian

Begin separating out the TX DMA setup in preparation for TX EDMA support.

* Introduce TX DMA setup/teardown methods, mirroring what's done in
  the RX path.

  Although the TX DMA descriptor is setup via ath_desc_alloc() /
  ath_desc_free(), there TX status descriptor ring will be allocated
  in this path.

* Remove some of the TX EDMA capability probing from the RX path and
  push it into the new TX EDMA path.
@
text
@d152 3
@


1.39
log
@SVN rev 238056 on 2012-07-03 07:01:12Z by adrian

Link in the new RX EDMA routines.
@
text
@d40 1
a40 1
SRCS+=	if_ath_beacon.c if_ath_rx_edma.c
@


1.38
log
@SVN rev 235680 on 2012-05-20 04:14:29Z by adrian

Migrate most of the beacon handling functions out to if_ath_beacon.c.

This is also in preparation for supporting AR9300 and later NICs.
@
text
@d40 1
a40 1
SRCS+=	if_ath_beacon.c
@


1.37
log
@SVN rev 235679 on 2012-05-20 02:49:42Z by adrian

Migrate the TDMA management functions out of if_ath.c into if_ath_tdma.c.

There's some TX path TDMA code in if_ath_tx.c which should be migrated
out, but first I should likely try and verify/fix/repair the TDMA support
in 9.x and -HEAD.
@
text
@d40 1
@


1.36
log
@SVN rev 235677 on 2012-05-20 02:05:25Z by adrian

.. and update this.
@
text
@d39 1
a39 1
SRCS+=	if_ath_tx.c if_ath_tx_ht.c if_ath_led.c if_ath_rx.c
@


1.35
log
@SVN rev 231927 on 2012-02-20 03:07:07Z by adrian

Break out the radar code into a separate source file.

This mirrors the internal HAL organisation and reduces the differences
between the HAL codebases slightly.

Obtained from:	Atheros
@
text
@d39 1
a39 1
SRCS+=	if_ath_tx.c if_ath_tx_ht.c if_ath_led.c
@


1.34
log
@SVN rev 229560 on 2012-01-05 06:22:09Z by adrian

Re-enable this bit of logic from before, which only sets a default
opt_ah.h file if KERNBUILDDIR isn't defined.

For now, AH_SUPPORT_AR5416 is required, so I'll just fix any
configuration file in /usr/src which is missing this option.

Pointy hat when things do break to:	adrian
@
text
@d91 2
a92 2
	ar5416_misc.c ar5416_phy.c ar5416_power.c ar5416_recv.c \
	ar5416_reset.c ar5416_xmit.c
@


1.33
log
@SVN rev 228887 on 2011-12-26 05:37:09Z by adrian

First pass of LED related code changes.

Migrate the LED code out of if_ath.c and into if_ath_led.c.
These routines are _all_ software based LED blinking.
@
text
@d143 1
d146 1
@


1.32
log
@SVN rev 228818 on 2011-12-22 23:40:52Z by dim

Disable various warnings for the ath module in a more fine-grained way:
only add the option for the specific .c files that need them, like via
sys/conf/files.

MFC after:	1 week
@
text
@d39 1
a39 1
SRCS+=	if_ath_tx.c if_ath_tx_ht.c
@


1.31
log
@SVN rev 228793 on 2011-12-21 22:13:50Z by dim

Amend r228783 by also disabling -Wshift-count-negative
-Wshift-count-overflow warnings for the ath module.

MFC after:	1 week
@
text
@a141 1
CWARNFLAGS+=	${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}
d147 3
@


1.30
log
@SVN rev 227433 on 2011-11-10 23:16:59Z by adrian

Revert this previous commit for now - although this override unfortunately
results in the HAL being built without HAL debugging/diagnostic support,
the module building process needs to be somehow taught to not build AR5416+
NICs if AH_SUPPORT_AR5416 isn't defined in opt_ah.h .
@
text
@d142 1
@


1.29
log
@SVN rev 227421 on 2011-11-10 17:01:34Z by adrian

Add a missing reference to AR9287.

Sponsored by:	Hobnob, Inc.
@
text
@a142 1
.if !defined(KERNBUILDDIR)
a144 1
.endif
@


1.28
log
@SVN rev 227412 on 2011-11-09 23:37:13Z by adrian

Use the system-provided opt_ah.h if one is provided.

This implies that users who are building the driver do so with
KERNBUILDDIR set to the compile/CONFIG directory so the various
opt_* sources can be pulled in.
@
text
@d78 1
a78 1
# AR5416, AR9130, AR9160, AR9220, AR9280, AR9285 support.
@


1.27
log
@SVN rev 222585 on 2011-06-01 20:09:49Z by adrian

Flesh out the radar detection related operations for the ath driver.

This is in no way a complete DFS/radar detection implementation!
It merely creates an abstracted interface which allows for future
development of the DFS radar detection code.

Note: Net80211 already handles the bulk of the DFS machinery,
all we need to do here is figure out that a radar event has occured
and inform it as such. It then drives the DFS state engine for us.

The "null" DFS radar detection module is included by default;
it doesn't require a device line.

This commit:

* Adds a simple abstracted layer for radar detection state -
  sys/dev/ath/ath_dfs/;
* Implements a null DFS module which doesn't do anything;
  (ie, implements the exact behaviour at the moment);
* Adds hooks to the ath driver to process received radar events
  and gives the DFS module a chance to determine whether
  a radar has been detected.

Obtained from:	Atheros
@
text
@d143 1
d146 1
@


1.27.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.27.2.2
log
@SVN rev 229275 on 2012-01-02 13:01:57Z by dim

MFC r228783:

  When building with clang, disable -Wshift-count-negative and
  -Wshift-count-overflow for sys/dev/ath/ath_hal/ah_regdomain.c, as it
  gets multiple instances of the following warnings:

  In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99:
  sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:69:15: warning: shift count is negative [-Wshift-count-negative]
           .chan11a               = BM4(F1_4950_4980,
                                    ^~~~~~~~~~~~~~~~~
  sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:41:4: note: expanded from:
            W1(_fa) | W1(_fb) | W1(_fc) | W1(_fd) }
            ^
  sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: note: expanded from:
          (((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : (uint64_t) 0))
                                                     ^ ~~~~~~~~~

  and:

  In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99:
  sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:629:15: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
           .chan11a               = BM4(W2_5260_5320,
                                    ^~~~~~~~~~~~~~~~~
  sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:40:34: note: expanded from:
          { W0(_fa) | W0(_fb) | W0(_fc) | W0(_fd),                        \
                                          ^
  sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:32:44: note: expanded from:
          (((_a) >= 0 && (_a) < 64 ? (((uint64_t) 1)<<(_a)) : (uint64_t) 0))
                                                    ^ ~~~~

  Both warnings are false positives, caused by LLVM PR 10030.  For global
  initializations, clang fails to detect that the branch of the ternary
  operator causing the warning is dead.

MFC r228793:

  Amend r228783 by also disabling -Wshift-count-negative
  -Wshift-count-overflow warnings for the ath module.

MFC r228818:

  Disable various warnings for the ath module in a more fine-grained way:
  only add the option for the specific .c files that need them, like via
  sys/conf/files.
@
text
@a146 3

CWARNFLAGS.ah_regdomain.c=	${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}
CWARNFLAGS+=			${CWARNFLAGS.${.IMPSRC:T}}
@


1.27.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d29 1
a29 1
# $FreeBSD: stable/9/sys/modules/ath/Makefile 229275 2012-01-02 13:01:57Z dim $
@


1.27.2.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245431
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 1
a29 1
# $FreeBSD: stable/9/sys/modules/ath/Makefile 245431 2013-01-14 19:51:26Z dim $
a148 3
# XXX Work around clang warnings, until maintainer approves fix.
CWARNFLAGS.ah_eeprom_9287.c=	${NO_WSOMETIMES_UNINITIALIZED}
CWARNFLAGS.if_ath.c=		${NO_WSOMETIMES_UNINITIALIZED}
@


1.27.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.27.2.2.2.2
log
@Switch importer
@
text
@d29 1
a29 1
# $FreeBSD: releng/9.1/sys/modules/ath/Makefile 229275 2012-01-02 13:01:57Z dim $
@


1.27.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.27.2.1.2.2
log
@Switch importer
@
text
@d29 1
a29 1
# $FreeBSD: releng/9.0/sys/modules/ath/Makefile 222585 2011-06-01 20:09:49Z adrian $
@


1.26
log
@SVN rev 222325 on 2011-05-26 20:31:08Z by adrian

Introduce AR9287 support to the FreeBSD HAL.
@
text
@d137 4
@


1.25
log
@SVN rev 221163 on 2011-04-28 12:47:40Z by adrian

Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL.

The AR9130 is an AR9160/AR5416 family WMAC which is glued directly
to the AR913x SoC peripheral bus (APB) rather than via a PCI/PCIe
bridge.

The specifics:

* A new build option is required to use the AR9130 - AH_SUPPORT_AR9130.
  This is needed due to the different location the RTC registers live
  with this chip; hopefully this will be undone in the future.
  This does currently mean that enabling this option will break non-AR9130
  builds, so don't enable it unless you're specifically building an image
  for the AR913x SoC.

* Add the new probe, attach, EEPROM and PLL methods specific to Howl.

* Add a work-around to ah_eeprom_v14.c which disables some of the checks
  for endian-ness and magic in the EEPROM image if an eepromdata block
  is provided. This'll be fixed at a later stage by porting the ath9k
  probe code and making sure it doesn't break in other setups (which
  my previous attempt at this did.)

* Sprinkle Howl modifications throughput the interrupt path - it doesn't
  implement the SYNC interrupt registers, so ignore those.

* Sprinkle Howl chip powerup/down throughout the reset path; the RTC methods
  were

* Sprinkle some other Howl workarounds in the reset path.

* Hard-code an alternative setup for the AR_CFG register for Howl, that
  sets up things suitable for Big-Endian MIPS (which is the only platform
  this chip is glued to.)

This has been tested on the AR913x based TP-Link WR-1043nd mode, in
legacy, HT/20 and HT/40 modes.

Caveats:

* 2ghz has only been tested. I've not seen any 5ghz radios glued to this
  chipset so I can't test it.

* AR5416_INTERRUPT_MITIGATION is not supported on the AR9130. At least,
  it isn't implemented in ath9k. Please don't enable this.

* This hasn't been tested in MBSS mode or in RX/TX block-aggregation mode.
@
text
@d119 6
@


1.24
log
@SVN rev 220593 on 2011-04-13 11:32:15Z by adrian

Bring over the antenna diversity logic support for Kite.

Again, this is just the code ported from ath9k and included in the build,
it isn't yet enabled.
@
text
@d78 4
a81 4
# AR5416, AR9160 support; these are 11n parts but only really
# supported (right now) operating in legacy mode.  Note enabling
# this support requires defining AH_SUPPORT_AR5416 in opt_ah.h
# so the 11n tx/rx descriptor format is handled.
d85 1
d94 1
a94 1
# RF backend for 5416 and 9160
d97 1
d101 11
d114 2
@


1.23
log
@SVN rev 220587 on 2011-04-13 02:40:45Z by adrian

Add the initial AR9285 PHY glue for supporting antenna diversity.
This code isn't currently used anywhere; it's just linked into the build.
@
text
@d102 1
@


1.22
log
@SVN rev 220185 on 2011-03-31 08:07:13Z by adrian

Break out the ath PCI logic into a separate device/module.

Introduce the AHB glue for Atheros embedded systems. Right now it's
hard-coded for the AR9130 chip whose support isn't yet in this HAL;
it'll be added in a subsequent commit.

Kernel configuration files now need both 'ath' and 'ath_pci' devices; both
modules need to be loaded for the ath device to work.
@
text
@d101 1
a101 1
SRCS+=	ar9285.c ar9285_reset.c ar9285_attach.c ar9285_cal.c
@


1.21
log
@SVN rev 219481 on 2011-03-11 11:58:54Z by adrian

Port over the AR9285 PA calibration and initial calibration code from
Linux ath9k.

The ath9k ar9002_hw_init_cal() isn't entirely clear about what
is supposed to be called for what chipsets, so I'm ignoring the
rest of it and just porting the AR9285 init cal path as-is and
leaving the rest alone. Subsequent commits may also tidy up the
Merlin (AR9285) and other chipset support.

Obtained from:	Linux ath9k
@
text
@d38 1
a38 1
SRCS=	if_ath.c if_ath_pci.c if_ath_debug.c if_ath_keycache.c if_ath_sysctl.c
@


1.20
log
@SVN rev 219393 on 2011-03-08 06:59:59Z by adrian

Implement open-loop TX power control (OLC) for Merlin (AR9280) and
generally tidy up the TX power programming code.

Enforce that the TX power offset for Merlin is -5 dBm, rather than
any other value programmable in the EEPROM. This requires some
further code to be ported over from ath9k, so until that is done
and tested, fail to attach NICs whose TX power offset isn't -5
dBm.

This improves both legacy and HT transmission on my merlin board.
It allows for stable MCS TX up to MCS15.

Specifics:

* Refactor out a bunch of the TX power calibration code -
  setting/obtaining the power detector / gain boundaries,
  programming the PDADC
* Take the -5 dBm TX power offset into account on Merlin -
  "0" in the per-rate TX power register means -5 dBm, not
  0 dBm
* When doing OLC
* Enforce min (0) and max (AR5416_MAX_RATE_POWER) when fiddling
  with the TX power, to avoid the TX power values from wrapping
  when low.
* Implement the 1 dBm cck power offset when doing OLC
* Implement temperature compensation for 2.4ghz mode when doing OLC
* Implement an AR9280 specific TX power calibration routine which
  includes the OLC twiddles, leaving the earlier chipset path
  (AR5416, AR9160) alone

Whilst here, use these refactored routines for the AR9285 TX power
calibration/programming code and enforce correct overflow/underflow
handling when fiddling with TX power values.

Obtained from:	linux ath9k
@
text
@d101 1
a101 1
SRCS+=	ar9285.c ar9285_reset.c ar9285_attach.c
@


1.19
log
@SVN rev 219185 on 2011-03-02 17:19:54Z by adrian

Break the keycache management functions out into if_ath_keycache.c .
@
text
@d100 1
a100 1
SRCS+=	ar9280.c ar9280_attach.c
@


1.18
log
@SVN rev 219180 on 2011-03-02 16:03:19Z by adrian

Migrate the sysctl related routines (statistics, debugging, etc) out of
if_ath.c and into if_ath_sysctl.c .
@
text
@d38 2
a39 1
SRCS=	if_ath.c if_ath_pci.c if_ath_debug.c if_ath_sysctl.c if_ath_tx.c if_ath_tx_ht.c
@


1.17
log
@SVN rev 218159 on 2011-02-01 08:03:01Z by adrian

Include some preliminary TX HT rate scenario setup code.

The AR5416 and later TX descriptors have new fields for supporting
11n bits (eg 20/40mhz mode, short/long GI) and enabling/disabling
RTS/CTS protection per rate.

These functions will be responsible for initialising the TX descriptors
for the AR5416 and later chips for both HT and legacy frames.

Beacon frames will remain using the non-11n TX descriptor setup for now;
Linux ath9k does much the same.

Note that these functions aren't yet used anywhere; a few more framework
changes are needed before all of the right rate information is available
for TX.
@
text
@d38 1
a38 1
SRCS=	if_ath.c if_ath_pci.c if_ath_debug.c if_ath_tx.c if_ath_tx_ht.c
@


1.16
log
@SVN rev 218065 on 2011-01-29 11:35:23Z by adrian

Migrate the TX path code out of if_ath and into a separate source file.

There's two reasons for this:

* the raw and non-raw TX path shares a lot of duplicate code which should be
  refactored;
* the 11n-ready chip TX path needs a little reworking.
@
text
@d38 1
a38 1
SRCS=	if_ath.c if_ath_pci.c if_ath_debug.c if_ath_tx.c
@


1.15
log
@SVN rev 218058 on 2011-01-29 05:08:21Z by adrian

Break out the debug macros from if_ath.c into if_ath_debug.[ch] .

This is prep work for breaking out the TX path into a separate
set of source files.
@
text
@d38 1
a38 1
SRCS=	if_ath.c if_ath_pci.c if_ath_debug.c
@


1.14
log
@SVN rev 217631 on 2011-01-20 09:03:40Z by adrian

Push the non-AR5416 related stuff into chipset specific directories.

sys/dev/ath/ath_hal/ar5416/ is getting very crowded and further
commits will make it even more crowded. Now is a good time to
shuffle these files out before any more extensive work is done
on them.

Create an ar9003 directory whilst I'm here; ar9003 specific
chipset code will eventually live there.
@
text
@d38 1
a38 1
SRCS=	if_ath.c if_ath_pci.c
@


1.13
log
@SVN rev 204656 on 2010-03-03 20:01:31Z by rpaulo

Add a missing ar9285_reset.c file.
@
text
@d91 5
d97 2
a99 2
# RF backend for 5416 and 9160
SRCS+=	ar2133.c
@


1.12
log
@SVN rev 204578 on 2010-03-02 12:51:39Z by rpaulo

Add AR9285 sources.
@
text
@d95 1
a95 1
SRCS+=	ar9285.c ar9285_attach.c
@


1.11
log
@SVN rev 203286 on 2010-01-31 14:25:09Z by rpaulo

Improve previous commit and add missing ar9280.c
@
text
@d95 1
@


1.10
log
@SVN rev 203285 on 2010-01-31 13:39:08Z by rpaulo

Build 928x files too.
@
text
@d40 1
a40 1
SRCS+=	ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.c ah_eeprom_v4k.c
d85 1
a85 1
SRCS+=	ah_eeprom_v14.c \
d92 1
a92 1
SRCS+=	ar9280_attach.c
@


1.9
log
@SVN rev 190571 on 2009-03-30 19:23:49Z by sam

Remove ATH_SUPPORT_TDMA and use IEEE80211_SUPPORT_TDMA instead.  It
doesn't make much sense to configure driver support w/o net80211.
Note this means ath now depends on opt_wlan.h.
@
text
@d40 1
a40 1
SRCS+=	ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.c
d92 1
@


1.9.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.9.2.2
log
@SVN rev 204580 on 2010-03-02 13:13:12Z by rpaulo

MFC r197948 r203156 r203158 r203159 r203680 r203682 r203750 r203882 r203930
    r203933 r203959 r204521 r204578:

Atheros AR9285 support.
@
text
@a93 1
SRCS+=	ar9285.c ar9285_attach.c
@


1.9.2.3
log
@SVN rev 204658 on 2010-03-03 20:06:50Z by rpaulo

MFC 204656:
	Add missing ar9285_reset.c file.
@
text
@d94 1
a94 1
SRCS+=	ar9285.c ar9285_reset.c ar9285_attach.c
@


1.9.2.4
log
@SVN rev 204659 on 2010-03-03 20:08:12Z by rpaulo

Add ar9280.c and ar9280_attach.c.
@
text
@a93 1
SRCS+=	ar9280.c ar9280_attach.c
@


1.9.2.5
log
@SVN rev 204660 on 2010-03-03 20:28:35Z by rpaulo

Add ah_eeprom_v4k.c
@
text
@a85 1
	ah_eeprom_v4k.c \
@


1.9.2.6
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d29 1
a29 1
# $FreeBSD: stable/8/sys/modules/ath/Makefile 204660 2010-03-03 20:28:35Z rpaulo $
@


1.9.2.5.6.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.9.2.5.6.2
log
@Switch importer
@
text
@d29 1
a29 1
# $FreeBSD: releng/8.3/sys/modules/ath/Makefile 204660 2010-03-03 20:28:35Z rpaulo $
@


1.9.2.5.4.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.9.2.5.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.9.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.8
log
@SVN rev 186094 on 2008-12-14 22:26:57Z by sam

Combine ath rate control modules with ath after bringing ath_hal
src into the tree.  The old split was balanced on module dependencies
and symbol exposure that no longer exists.  Users that want a module
setup with rate control algorithm other than sample must override
ATH_RATE in the ath module Makefile.

Reviewed by:	imp
@
text
@d41 1
a41 1
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h
d98 1
a98 1
SRCS+=	sample.c opt_wlan.h
@


1.7
log
@SVN rev 185571 on 2008-12-02 21:37:28Z by bz

Rather than using hidden includes (with cicular dependencies),
directly include only the header files needed. This reduces the
unneeded spamming of various headers into lots of files.

For now, this leaves us with very few modules including vnet.h
and thus needing to depend on opt_route.h.

Reviewed by:	brooks, gnn, des, zec, imp
Sponsored by:	The FreeBSD Foundation
@
text
@d32 1
a32 6
.PATH:	${.CURDIR}/../../dev/ath \
	${.CURDIR}/../../dev/ath/ath_hal \
	${.CURDIR}/../../dev/ath/ath_hal/ar5210 \
	${.CURDIR}/../../dev/ath/ath_hal/ar5211 \
	${.CURDIR}/../../dev/ath/ath_hal/ar5212 \
	${.CURDIR}/../../dev/ath/ath_hal/ar5416
d34 14
a47 1
AR5210_SRCS=ah_eeprom_v1.c \
d51 7
a57 1
AR5211_SRCS=ar5211_attach.c ar5211_beacon.c ar5211_interrupts.c \
d60 6
a65 1
AR5212_SRCS=ar5212_ani.c ar5212_attach.c ar5212_beacon.c ar5212_eeprom.c \
d68 18
a85 3
	ar5212_rfgain.c ar5212_xmit.c \
	ar2413.c ar2425.c ar5111.c ar5112.c ar5413.c
AR5416_SRCS=ah_eeprom_v14.c \
d90 4
a93 3
	ar5416_reset.c ar5416_xmit.c \
	ar2133.c
AR9160_SRCS=ar9160_attach.c
d95 11
a105 10
KMOD=	if_ath
SRCS=	if_ath.c if_ath_pci.c
# NB: v3 eeprom support used by both AR5211 and AR5212; just include it
SRCS+=	ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.c
SRCS+=	${AR5210_SRCS}
SRCS+=	${AR5211_SRCS}
SRCS+=	${AR5212_SRCS}
SRCS+=	${AR5416_SRCS}
SRCS+=	${AR9160_SRCS}
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h
@


1.6
log
@SVN rev 185522 on 2008-12-01 16:53:01Z by sam

Switch to ath hal source code. Note this removes the ath_hal
module; the ath module now brings in the hal support.  Kernel
config files are almost backwards compatible; supplying

device ath_hal

gives you the same chip support that the binary hal did but you
must also include

options AH_SUPPORT_AR5416

to enable the extended format descriptors used by 11n parts.
It is now possible to control the chip support included in a
build by specifying exactly which chips are to be supported
in the config file; consult ath_hal(4) for information.
@
text
@d69 1
a69 1
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_route.h opt_ath.h opt_ah.h
@


1.5
log
@for newer hal's we need opt_ah.h as it specifies how the hal has been
configured and that in turn controls the descriptor layout
@
text
@d2 1
a2 1
# Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
a14 7
# 3. Neither the names of the above-listed copyright holders nor the names
#    of any contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# Alternatively, this software may be distributed under the terms of the
# GNU General Public License ("GPL") version 2 as published by the Free
# Software Foundation.
d32 27
a58 1
.PATH: ${.CURDIR}/../../dev/ath
d62 8
a69 7
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h

HAL=	${.CURDIR}/../../contrib/dev/ath
CFLAGS+=  -I. -I${.CURDIR}/../../dev/ath -I${HAL}

opt_ath.h:
	echo > $@@
d71 1
a71 10
# patch for hal naming difference
.if ${MACHINE_ARCH} == "amd64"
ATH_MODULE_ARCH=x86_64
.elif ${MACHINE_ARCH} == "sparc64"
ATH_MODULE_ARCH=sparc64-be
.elif ${MACHINE_ARCH} == "powerpc"
ATH_MODULE_ARCH=powerpc-be
.else
ATH_MODULE_ARCH=${MACHINE_ARCH}
.endif
d73 2
a74 2
opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h
	cp ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h ${.TARGET}
@


1.5.2.1
log
@SVN rev 189720 on 2009-03-12 03:09:11Z by bms

Merge the open source Atheros HAL from HEAD to STABLE.

This adds support for the AH_SUPPORT_AR5416 kernel
configuration option, and removes the ath_rate*
and ath_hal modules. Their kernel options are not
however removed -- please see UPDATING.

Tested on an IBM/Lenovo T43 and ASUS EeePC 701 in both
STA and HostAP modes.

Submitted by:	sam
@
text
@d2 1
a2 1
# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
d15 7
d39 1
a39 4
ATH_RATE?=	sample		# tx rate control algorithm

.PATH:	${.CURDIR}/../../dev/ath
.PATH:	${.CURDIR}/../../dev/ath/ath_hal
a42 2
# NB: v3 eeprom support used by both AR5211 and AR5212; just include it
SRCS+=	ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.c
d45 2
a46 17
#
# AR5210 support; these are first generation 11a-only devices.
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5210
SRCS+=	ah_eeprom_v1.c \
	ar5210_attach.c ar5210_beacon.c ar5210_interrupts.c \
	ar5210_keycache.c ar5210_misc.c ar5210_phy.c ar5210_power.c \
	ar5210_recv.c ar5210_reset.c ar5210_xmit.c

#
# AR5211 support; these are second generation 11b/g/a devices
# (but 11g was OFDM only and is not supported).
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5211
SRCS+=	ar5211_attach.c ar5211_beacon.c ar5211_interrupts.c \
	ar5211_keycache.c ar5211_misc.c	ar5211_phy.c ar5211_power.c \
	ar5211_recv.c ar5211_reset.c ar5211_xmit.c
d48 2
a49 14
#
# AR5212 support; this covers all other pci/cardbus legacy parts.
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5212
SRCS+=	ar5212_ani.c ar5212_attach.c ar5212_beacon.c ar5212_eeprom.c \
	ar5212_gpio.c ar5212_interrupts.c ar5212_keycache.c ar5212_misc.c \
	ar5212_phy.c ar5212_power.c ar5212_recv.c ar5212_reset.c \
	ar5212_rfgain.c ar5212_xmit.c
# RF backends
SRCS+=	ar5111.c
SRCS+=	ar5112.c
SRCS+=	ar2413.c
SRCS+=	ar2425.c
SRCS+=	ar5413.c
d51 9
a59 29
#
# AR5416, AR9160 support; these are 11n parts but only really
# supported (right now) operating in legacy mode.  Note enabling
# this support requires defining AH_SUPPORT_AR5416 in opt_ah.h
# so the 11n tx/rx descriptor format is handled.
#
# NB: 9160 depends on 5416 but 5416 does not require 9160
#
.PATH:	${.CURDIR}/../../dev/ath/ath_hal/ar5416
SRCS+=	ah_eeprom_v14.c \
	ar5416_ani.c ar5416_attach.c ar5416_beacon.c ar5416_cal.c \
	ar5416_cal_iq.c ar5416_cal_adcgain.c ar5416_cal_adcdc.c \
	ar5416_eeprom.c ar5416_gpio.c ar5416_interrupts.c ar5416_keycache.c \
	ar5416_misc.c ar5416_phy.c ar5416_power.c ar5416_recv.c \
	ar5416_reset.c ar5416_xmit.c
SRCS+=	ar9160_attach.c
# RF backend for 5416 and 9160
SRCS+=	ar2133.c

# NB: rate control is bound to the driver by symbol names so only pick one
.if ${ATH_RATE} == "sample"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/sample
SRCS+=	sample.c opt_wlan.h
.elif ${ATH_RATE} == "onoe"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/onoe
SRCS+=	onoe.c
.elif ${ATH_RATE} == "amrr"
.PATH:	${.CURDIR}/../../dev/ath/ath_rate/amrr
SRCS+=	amrr.c
d62 2
a63 4
CFLAGS+=  -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal

opt_ah.h:
	echo '#define AH_SUPPORT_AR5416 1' > $@@
@


1.5.2.2
log
@Switch importer
@
text
@d29 1
a29 1
# $FreeBSD: stable/7/sys/modules/ath/Makefile 189720 2009-03-12 03:09:11Z bms $
@


1.5.2.1.6.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.5.2.1.6.2
log
@Switch importer
@
text
@d29 1
a29 1
# $FreeBSD: releng/7.4/sys/modules/ath/Makefile 189720 2009-03-12 03:09:11Z bms $
@


1.5.2.1.4.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.5.2.1.2.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.5.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.4
log
@o move ath hal os glue code from the hal to the driver: this code was
  part of the hal distribution early on when the hal was built for
  each os but it's been portable for a long time so move the os-specific
  code out (and off the vendor branch)
o correct the copyright on ah_osdep.?; it was mistakenly given a
  restricted license and not a dual-bsd/gpl license
o remove the module api definition as it was never used
o fixup include paths for move of ah_osdep.h

MFC after:	2 weeks
@
text
@d43 1
a43 1
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h
d51 14
@


1.3
log
@o add opt_ath.h enable tweaking various config parameters for the driver
  without modifying the source code
o default debug msgs and diag support to off

MFC after:	3 days
@
text
@d46 1
a46 1
CFLAGS+=  -I. -I${HAL}/freebsd -I${HAL}
@


1.2
log
@Remove bridge(4) from the tree.  if_bridge(4) is a full functional
replacement and has additional features which make it superior.

Discussed on:	-arch
Reviewed by:	thompsa
X-MFC-after:	never (RELENG_6 as transition period)
@
text
@d43 1
a43 1
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h
d48 3
@


1.1
log
@module for Atheros 802.11 driver
@
text
@d43 1
a43 1
SRCS+=	opt_bdg.h device_if.h bus_if.h pci_if.h opt_inet.h
@


1.1.10.1
log
@MFC: ath config option additions/changes

Approved by:	re (scottl)
@
text
@d43 1
a43 1
SRCS+=	device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h
a47 3
opt_ath.h:
	echo > $@@

@


1.1.10.2
log
@MFC: move ah_osdep.[ch] from the hal to the driver; they will not
     be distributed with future versions of the hal

Approved by:	re (kensmith)
@
text
@d46 1
a46 1
CFLAGS+=  -I. -I${.CURDIR}/../../dev/ath -I${HAL}
@


1.1.10.3
log
@Switch importer
@
text
@d36 1
a36 1
# $FreeBSD: stable/6/sys/modules/ath/Makefile 163396 2006-10-16 01:26:14Z sam $
@


1.1.10.2.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


