From: mtaylor Date: Fri, 11 Apr 2008 00:10:36 +0000 (+0000) Subject: Add support for ATHEROS_DEBUG kernel flag, default 'Y'. X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=f8f3f6ce147aed4d4dacd645d5d2c3891f4f76cc;p=madwifi%2F.git 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 --- diff --git a/Makefile.kernel b/Makefile.kernel index 248c213..90db54a 100644 --- a/Makefile.kernel +++ b/Makefile.kernel @@ -35,3 +35,7 @@ obj-$(CONFIG_ATHEROS_RATE_SAMPLE) += ath_rate/sample/ obj-$(CONFIG_ATHEROS) += ath/ ath_hal/ net80211/ endif + +ifeq ($(CONFIG_ATHEROS_DEBUG),y) +CFLAGS += -DAR_DEBUG -DIEEE80211_DEBUG +endif diff --git a/patch-kernel/Kconfig b/patch-kernel/Kconfig index 3513cb1..62daecb 100644 --- a/patch-kernel/Kconfig +++ b/patch-kernel/Kconfig @@ -16,6 +16,13 @@ config ATHEROS To compile this driver as a module, choose M here: the module will be 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 prompt "Atheros: Default Transmission Rate Control Algorithm" depends on ATHEROS