From f8f3f6ce147aed4d4dacd645d5d2c3891f4f76cc Mon Sep 17 00:00:00 2001 From: mtaylor Date: Fri, 11 Apr 2008 00:10:36 +0000 Subject: [PATCH] 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 --- Makefile.kernel | 4 ++++ patch-kernel/Kconfig | 7 +++++++ 2 files changed, 11 insertions(+) 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 -- 2.35.1