Makefile (186094) | Makefile (190571) |
---|---|
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 186094 2008-12-14 22:26:57Z sam $ | 29# $FreeBSD: head/sys/modules/ath/Makefile 190571 2009-03-30 19:23:49Z sam $ |
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 38SRCS= if_ath.c if_ath_pci.c 39# NB: v3 eeprom support used by both AR5211 and AR5212; just include it 40SRCS+= ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.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 38SRCS= if_ath.c if_ath_pci.c 39# NB: v3 eeprom support used by both AR5211 and AR5212; just include it 40SRCS+= ah_osdep.c ah.c ah_regdomain.c ah_eeprom_v3.c |
41SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h | 41SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_ath.h opt_ah.h opt_wlan.h |
42 43# 44# AR5210 support; these are first generation 11a-only devices. 45# 46.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar5210 47SRCS+= ah_eeprom_v1.c \ 48 ar5210_attach.c ar5210_beacon.c ar5210_interrupts.c \ 49 ar5210_keycache.c ar5210_misc.c ar5210_phy.c ar5210_power.c \ --- 40 unchanged lines hidden (view full) --- 90 ar5416_reset.c ar5416_xmit.c 91SRCS+= ar9160_attach.c 92# RF backend for 5416 and 9160 93SRCS+= ar2133.c 94 95# NB: rate control is bound to the driver by symbol names so only pick one 96.if ${ATH_RATE} == "sample" 97.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample | 42 43# 44# AR5210 support; these are first generation 11a-only devices. 45# 46.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar5210 47SRCS+= ah_eeprom_v1.c \ 48 ar5210_attach.c ar5210_beacon.c ar5210_interrupts.c \ 49 ar5210_keycache.c ar5210_misc.c ar5210_phy.c ar5210_power.c \ --- 40 unchanged lines hidden (view full) --- 90 ar5416_reset.c ar5416_xmit.c 91SRCS+= ar9160_attach.c 92# RF backend for 5416 and 9160 93SRCS+= ar2133.c 94 95# NB: rate control is bound to the driver by symbol names so only pick one 96.if ${ATH_RATE} == "sample" 97.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample |
98SRCS+= sample.c opt_wlan.h | 98SRCS+= sample.c |
99.elif ${ATH_RATE} == "onoe" 100.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe 101SRCS+= onoe.c 102.elif ${ATH_RATE} == "amrr" 103.PATH: ${.CURDIR}/../../dev/ath/ath_rate/amrr 104SRCS+= amrr.c 105.endif 106 107CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal 108 109opt_ah.h: 110 echo '#define AH_SUPPORT_AR5416 1' > $@ 111 112.include <bsd.kmod.mk> | 99.elif ${ATH_RATE} == "onoe" 100.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe 101SRCS+= onoe.c 102.elif ${ATH_RATE} == "amrr" 103.PATH: ${.CURDIR}/../../dev/ath/ath_rate/amrr 104SRCS+= amrr.c 105.endif 106 107CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal 108 109opt_ah.h: 110 echo '#define AH_SUPPORT_AR5416 1' > $@ 111 112.include <bsd.kmod.mk> |