diff options
author | sam <sam@FreeBSD.org> | 2008-12-01 16:53:01 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-12-01 16:53:01 +0000 |
commit | 3693ee3c3284d3af87386ca19da4a94a454d0a1c (patch) | |
tree | 8a1dfddaf996f7f9195cae93c4ecb83157e46354 /sys/modules/ath_rate_sample/Makefile | |
parent | 7a794e0b9d34863d33a89f93cdc66827a2760925 (diff) | |
download | FreeBSD-src-3693ee3c3284d3af87386ca19da4a94a454d0a1c.zip FreeBSD-src-3693ee3c3284d3af87386ca19da4a94a454d0a1c.tar.gz |
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.
Diffstat (limited to 'sys/modules/ath_rate_sample/Makefile')
-rw-r--r-- | sys/modules/ath_rate_sample/Makefile | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/sys/modules/ath_rate_sample/Makefile b/sys/modules/ath_rate_sample/Makefile index 02a5acf..b3e3a6c 100644 --- a/sys/modules/ath_rate_sample/Makefile +++ b/sys/modules/ath_rate_sample/Makefile @@ -1,5 +1,5 @@ # -# Copyright (c) 2004 Sam Leffler, Errno Consulting +# Copyright (c) 2004-2008 Sam Leffler, Errno Consulting # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -12,13 +12,6 @@ # 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. -# 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. # # NO WARRANTY # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -40,29 +33,8 @@ KMOD= ath_rate SRCS= sample.c -SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_ah.h opt_wlan.h - -HAL= ${.CURDIR}/../../contrib/dev/ath -CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${HAL} - -# 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 - -opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h - cp ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h ${.TARGET} +SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_route.h opt_ah.h opt_wlan.h -.if !defined(KERNBUILDDIR) -opt_wlan.h: -# echo "#define IEEE80211_DEBUG 1" > ${.TARGET} - echo > ${.TARGET} -.endif +CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal .include <bsd.kmod.mk> |