diff options
author | Brice Goglin <Brice.Goglin@ens-lyon.org> | 2005-12-01 04:41:46 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-01 04:51:34 -0500 |
commit | 0f52bf905884c6dd7f994c9e2f533b2c02f0bd4b (patch) | |
tree | 42e15d05ffb12e7bfa3be630c383efb19a9ceed9 /drivers/net/wireless/ipw2200.h | |
parent | c75f4742e2306a319baaa556e53209d4e7c47f0d (diff) |
[PATCH] Duplicate IPW_DEBUG option for ipw2100 and 2200
There are currently two IPW_DEBUG options in drivers/net/wireless/Kconfig
(one for ipw2100 and one for ipw2200). The attached patch splits it into
IPW2100_DEBUG and IPW2200_DEBUG.
Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: "James P. Ketrenos" <ipw2100-admin@linux.intel.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r-- | drivers/net/wireless/ipw2200.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h index 1c98db0652c9..e65620a4d79e 100644 --- a/drivers/net/wireless/ipw2200.h +++ b/drivers/net/wireless/ipw2200.h | |||
@@ -1301,14 +1301,14 @@ struct ipw_priv { | |||
1301 | 1301 | ||
1302 | /* debug macros */ | 1302 | /* debug macros */ |
1303 | 1303 | ||
1304 | #ifdef CONFIG_IPW_DEBUG | 1304 | #ifdef CONFIG_IPW2200_DEBUG |
1305 | #define IPW_DEBUG(level, fmt, args...) \ | 1305 | #define IPW_DEBUG(level, fmt, args...) \ |
1306 | do { if (ipw_debug_level & (level)) \ | 1306 | do { if (ipw_debug_level & (level)) \ |
1307 | printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \ | 1307 | printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \ |
1308 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) | 1308 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) |
1309 | #else | 1309 | #else |
1310 | #define IPW_DEBUG(level, fmt, args...) do {} while (0) | 1310 | #define IPW_DEBUG(level, fmt, args...) do {} while (0) |
1311 | #endif /* CONFIG_IPW_DEBUG */ | 1311 | #endif /* CONFIG_IPW2200_DEBUG */ |
1312 | 1312 | ||
1313 | /* | 1313 | /* |
1314 | * To use the debug system; | 1314 | * To use the debug system; |
@@ -1332,7 +1332,7 @@ do { if (ipw_debug_level & (level)) \ | |||
1332 | * you simply need to add your entry to the ipw_debug_levels array. | 1332 | * you simply need to add your entry to the ipw_debug_levels array. |
1333 | * | 1333 | * |
1334 | * If you do not see debug_level in /proc/net/ipw then you do not have | 1334 | * If you do not see debug_level in /proc/net/ipw then you do not have |
1335 | * CONFIG_IPW_DEBUG defined in your kernel configuration | 1335 | * CONFIG_IPW2200_DEBUG defined in your kernel configuration |
1336 | * | 1336 | * |
1337 | */ | 1337 | */ |
1338 | 1338 | ||