Add support for ATHEROS_DEBUG kernel flag, default 'Y'.
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 11 Apr 2008 00:10:36 +0000 (00:10 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 11 Apr 2008 00:10:36 +0000 (00:10 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3536 0192ed92-7a03-0410-a25b-9323aeb14dbd

Makefile.kernel
patch-kernel/Kconfig

index 248c213779b02c37678ac5e9b8c28bd9c24dfced..90db54a2855090291e58c09f753255850602e3d9 100644 (file)
@@ -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
index 3513cb11a47f6aad16de936a9ee877370b7e4c08..62daecb0eeeaf1521a4c7d8c8d66495821d4796b 100644 (file)
@@ -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