diff options
author | Christoph Hellwig <hch@lst.de> | 2007-10-25 05:15:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:25 -0500 |
commit | c8b0e6e19c0bcd30689cb6c6f64eb140f5d61894 (patch) | |
tree | 5c9ef861d391a3d8d56f3e24cd9920f19161f7d2 /drivers/net/wireless/iwlwifi/iwl-3945-debug.h | |
parent | 5d08cd1dfdc57dc834c47eb9f023fcf861f3d6bf (diff) |
iwlwifi: cleanup Kconfig and ifdefs to split 3945 and 4965
Currently the iwl3945 & iwl4965 drivers share some common Kconfig
symbols. This split it up into options for the individual drivers
and gets rid of all the CONFIG_IWLWIFI cruft.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-debug.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-debug.h b/drivers/net/wireless/iwlwifi/iwl-3945-debug.h index 72318d78957e..d0ea83404e0e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-debug.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945-debug.h | |||
@@ -29,7 +29,7 @@ | |||
29 | #ifndef __iwl_debug_h__ | 29 | #ifndef __iwl_debug_h__ |
30 | #define __iwl_debug_h__ | 30 | #define __iwl_debug_h__ |
31 | 31 | ||
32 | #ifdef CONFIG_IWLWIFI_DEBUG | 32 | #ifdef CONFIG_IWL3945_DEBUG |
33 | extern u32 iwl_debug_level; | 33 | extern u32 iwl_debug_level; |
34 | #define IWL_DEBUG(level, fmt, args...) \ | 34 | #define IWL_DEBUG(level, fmt, args...) \ |
35 | do { if (iwl_debug_level & (level)) \ | 35 | do { if (iwl_debug_level & (level)) \ |
@@ -47,7 +47,7 @@ static inline void IWL_DEBUG(int level, const char *fmt, ...) | |||
47 | static inline void IWL_DEBUG_LIMIT(int level, const char *fmt, ...) | 47 | static inline void IWL_DEBUG_LIMIT(int level, const char *fmt, ...) |
48 | { | 48 | { |
49 | } | 49 | } |
50 | #endif /* CONFIG_IWLWIFI_DEBUG */ | 50 | #endif /* CONFIG_IWL3945_DEBUG */ |
51 | 51 | ||
52 | /* | 52 | /* |
53 | * To use the debug system; | 53 | * To use the debug system; |
@@ -71,7 +71,7 @@ static inline void IWL_DEBUG_LIMIT(int level, const char *fmt, ...) | |||
71 | * you simply need to add your entry to the iwl_debug_levels array. | 71 | * you simply need to add your entry to the iwl_debug_levels array. |
72 | * | 72 | * |
73 | * If you do not see debug_level in /proc/net/iwl then you do not have | 73 | * If you do not see debug_level in /proc/net/iwl then you do not have |
74 | * CONFIG_IWLWIFI_DEBUG defined in your kernel configuration | 74 | * CONFIG_IWL3945_DEBUG defined in your kernel configuration |
75 | * | 75 | * |
76 | */ | 76 | */ |
77 | 77 | ||