[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>
This commit is contained in:

committed by
Jeff Garzik

parent
c75f4742e2
commit
0f52bf9058
@@ -1301,14 +1301,14 @@ struct ipw_priv {
|
||||
|
||||
/* debug macros */
|
||||
|
||||
#ifdef CONFIG_IPW_DEBUG
|
||||
#ifdef CONFIG_IPW2200_DEBUG
|
||||
#define IPW_DEBUG(level, fmt, args...) \
|
||||
do { if (ipw_debug_level & (level)) \
|
||||
printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \
|
||||
in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0)
|
||||
#else
|
||||
#define IPW_DEBUG(level, fmt, args...) do {} while (0)
|
||||
#endif /* CONFIG_IPW_DEBUG */
|
||||
#endif /* CONFIG_IPW2200_DEBUG */
|
||||
|
||||
/*
|
||||
* To use the debug system;
|
||||
@@ -1332,7 +1332,7 @@ do { if (ipw_debug_level & (level)) \
|
||||
* you simply need to add your entry to the ipw_debug_levels array.
|
||||
*
|
||||
* If you do not see debug_level in /proc/net/ipw then you do not have
|
||||
* CONFIG_IPW_DEBUG defined in your kernel configuration
|
||||
* CONFIG_IPW2200_DEBUG defined in your kernel configuration
|
||||
*
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user