summaryrefslogtreecommitdiffstats
path: root/sys/modules/ath
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-05-02 07:05:34 +0000
committeradrian <adrian@FreeBSD.org>2013-05-02 07:05:34 +0000
commit7c011956d190702f752d0ade62bc2850edbf38e8 (patch)
tree770a28ae7bf29518361b78061b3ef2b48f2dc62c /sys/modules/ath
parent87b76d8700ad460a083c9dfcfe7b6939bd32ac7b (diff)
downloadFreeBSD-src-7c011956d190702f752d0ade62bc2850edbf38e8.zip
FreeBSD-src-7c011956d190702f752d0ade62bc2850edbf38e8.tar.gz
Add the AR9300 HAL into the kernel and module builds.
Tested: * make universe (honest!)
Diffstat (limited to 'sys/modules/ath')
-rw-r--r--sys/modules/ath/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile
index a880645..5de861f 100644
--- a/sys/modules/ath/Makefile
+++ b/sys/modules/ath/Makefile
@@ -124,13 +124,13 @@ SRCS+= ah_eeprom_9287.c
SRCS+= ar9287.c ar9287_reset.c ar9287_attach.c ar9287_cal.c ar9287_olc.c
# + AR9300 HAL
-# .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
+.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"
@@ -149,7 +149,7 @@ SRCS+= amrr.c
SRCS+= dfs_null.c
CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal
-# CFLAGS+= -I. -I${.CURDIR}/../../contrib/sys/dev/ath/ath_hal/
+CFLAGS+= -I. -I${.CURDIR}/../../contrib/dev/ath/ath_hal/
.if !defined(KERNBUILDDIR)
opt_ah.h:
@@ -164,5 +164,5 @@ 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}
+CWARNFLAGS.ar9300_eeprom.c= ${NO_WCONSTANT_CONVERSION}
+CWARNFLAGS.ar9300_reset.c= ${NO_WSOMETIMES_UNINITIALIZED}
OpenPOWER on IntegriCloud