netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipw2100: wraps the debug module param within #ifdefs
@ 2006-04-13  9:14 Zhu Yi
  2006-04-13 17:30 ` Stephen Hemminger
  0 siblings, 1 reply; 6+ messages in thread
From: Zhu Yi @ 2006-04-13  9:14 UTC (permalink / raw)
  To: netdev, John W. Linville

Signed-off-by: Henrik Brix Andersen <brix@gentoo.org>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>

---

 drivers/net/wireless/ipw2100.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

e78cfdab91a809722be99c06574d2e0a60467644
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c
index 72335c8..2cd32a4 100644
--- a/drivers/net/wireless/ipw2100.c
+++ b/drivers/net/wireless/ipw2100.c
@@ -184,7 +184,9 @@ MODULE_VERSION(DRV_VERSION);
 MODULE_AUTHOR(DRV_COPYRIGHT);
 MODULE_LICENSE("GPL");
 
+#ifdef CONFIG_IPW2100_DEBUG
 static int debug = 0;
+#endif
 static int mode = 0;
 static int channel = 0;
 static int associate = 1;
@@ -194,13 +196,17 @@ static struct ipw2100_fw ipw2100_firmwar
 #endif
 
 #include <linux/moduleparam.h>
+#ifdef CONFIG_IPW2100_DEBUG
 module_param(debug, int, 0444);
+#endif
 module_param(mode, int, 0444);
 module_param(channel, int, 0444);
 module_param(associate, int, 0444);
 module_param(disable, int, 0444);
 
+#ifdef CONFIG_IPW2100_DEBUG
 MODULE_PARM_DESC(debug, "debug level");
+#endif
 MODULE_PARM_DESC(mode, "network mode (0=BSS,1=IBSS,2=Monitor)");
 MODULE_PARM_DESC(channel, "channel");
 MODULE_PARM_DESC(associate, "auto associate when scanning (default on)");
-- 
1.2.6


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-04-17 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-13  9:14 [PATCH] ipw2100: wraps the debug module param within #ifdefs Zhu Yi
2006-04-13 17:30 ` Stephen Hemminger
2006-04-14  5:18   ` Zhu Yi
2006-04-14 16:33     ` Stephen Hemminger
2006-04-17  2:17       ` Zhu Yi
2006-04-17 16:24         ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).