ath9k_common: add new module to share 802.11n driver helpers
[pandora-kernel.git] / drivers / net / wireless / ath / ath9k / Kconfig
index ef5f59c..006364f 100644 (file)
@@ -1,9 +1,16 @@
+config ATH9K_HW
+       tristate
+config ATH9K_COMMON
+       tristate
+
 config ATH9K
        tristate "Atheros 802.11n wireless cards support"
-       depends on PCI && MAC80211 && WLAN_80211
+       depends on PCI && MAC80211
+       select ATH9K_HW
        select MAC80211_LEDS
        select LEDS_CLASS
        select NEW_LEDS
+       select ATH9K_COMMON
        ---help---
          This module adds support for wireless adapters based on
          Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
@@ -16,6 +23,8 @@ config ATH9K
 
          If you choose to build a module, it'll be called ath9k.
 
+if ATH_DEBUG
+
 config ATH9K_DEBUG
        bool "Atheros ath9k debugging"
        depends on ATH9K
@@ -26,3 +35,5 @@ config ATH9K_DEBUG
          modprobe ath9k debug=0x00000200
 
          Look in ath9k/debug.h for possible debug masks
+
+endif # ATH_DEBUG