Add support for ATHEROS_DEBUG kernel flag, default 'Y'.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3536 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2008-04-11 00:10:36 +00:00
parent 9269ea6eb9
commit f8f3f6ce14
2 changed files with 11 additions and 0 deletions

View File

@ -35,3 +35,7 @@ obj-$(CONFIG_ATHEROS_RATE_SAMPLE) += ath_rate/sample/
obj-$(CONFIG_ATHEROS) += ath/ ath_hal/ net80211/ obj-$(CONFIG_ATHEROS) += ath/ ath_hal/ net80211/
endif endif
ifeq ($(CONFIG_ATHEROS_DEBUG),y)
CFLAGS += -DAR_DEBUG -DIEEE80211_DEBUG
endif

View File

@ -16,6 +16,13 @@ config ATHEROS
To compile this driver as a module, choose M here: the module will be To compile this driver as a module, choose M here: the module will be
called ath_pci. If unsure, say N. called ath_pci. If unsure, say N.
config ATHEROS_DEBUG
bool "Atheros: Debugging support for Atheros PCI/Cardbus cards"
depends on ATHEROS
default y
help
Enable diagnostic checks and log output.
choice choice
prompt "Atheros: Default Transmission Rate Control Algorithm" prompt "Atheros: Default Transmission Rate Control Algorithm"
depends on ATHEROS depends on ATHEROS