Deleted Added
full compact
Makefile (204656) Makefile (217631)
1#
2# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27# THE POSSIBILITY OF SUCH DAMAGES.
28#
1#
2# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27# THE POSSIBILITY OF SUCH DAMAGES.
28#
29# $FreeBSD: head/sys/modules/ath/Makefile 204656 2010-03-03 20:01:31Z rpaulo $
29# $FreeBSD: head/sys/modules/ath/Makefile 217631 2011-01-20 09:03:40Z adrian $
30#
31
32ATH_RATE?= sample # tx rate control algorithm
33
34.PATH: ${.CURDIR}/../../dev/ath
35.PATH: ${.CURDIR}/../../dev/ath/ath_hal
36
37KMOD= if_ath

--- 45 unchanged lines hidden (view full) ---

83#
84.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar5416
85SRCS+= ah_eeprom_v14.c ah_eeprom_v4k.c \
86 ar5416_ani.c ar5416_attach.c ar5416_beacon.c ar5416_cal.c \
87 ar5416_cal_iq.c ar5416_cal_adcgain.c ar5416_cal_adcdc.c \
88 ar5416_eeprom.c ar5416_gpio.c ar5416_interrupts.c ar5416_keycache.c \
89 ar5416_misc.c ar5416_phy.c ar5416_power.c ar5416_recv.c \
90 ar5416_reset.c ar5416_xmit.c
30#
31
32ATH_RATE?= sample # tx rate control algorithm
33
34.PATH: ${.CURDIR}/../../dev/ath
35.PATH: ${.CURDIR}/../../dev/ath/ath_hal
36
37KMOD= if_ath

--- 45 unchanged lines hidden (view full) ---

83#
84.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar5416
85SRCS+= ah_eeprom_v14.c ah_eeprom_v4k.c \
86 ar5416_ani.c ar5416_attach.c ar5416_beacon.c ar5416_cal.c \
87 ar5416_cal_iq.c ar5416_cal_adcgain.c ar5416_cal_adcdc.c \
88 ar5416_eeprom.c ar5416_gpio.c ar5416_interrupts.c ar5416_keycache.c \
89 ar5416_misc.c ar5416_phy.c ar5416_power.c ar5416_recv.c \
90 ar5416_reset.c ar5416_xmit.c
91SRCS+= ar9160_attach.c
92SRCS+= ar9280.c ar9280_attach.c
91
93# RF backend for 5416 and 9160
94SRCS+= ar2133.c
92# RF backend for 5416 and 9160
93SRCS+= ar2133.c
94
95.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9001
96SRCS+= ar9160_attach.c
97
98.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9002
99SRCS+= ar9280.c ar9280_attach.c
95SRCS+= ar9285.c ar9285_reset.c ar9285_attach.c
96
97# NB: rate control is bound to the driver by symbol names so only pick one
98.if ${ATH_RATE} == "sample"
99.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample
100SRCS+= sample.c
101.elif ${ATH_RATE} == "onoe"
102.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe

--- 12 unchanged lines hidden ---
100SRCS+= ar9285.c ar9285_reset.c ar9285_attach.c
101
102# NB: rate control is bound to the driver by symbol names so only pick one
103.if ${ATH_RATE} == "sample"
104.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample
105SRCS+= sample.c
106.elif ${ATH_RATE} == "onoe"
107.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe

--- 12 unchanged lines hidden ---