* [KJ] [PATCH] convert netwave_cs wireless driver to module_param
@ 2004-11-09 21:33 Stefan Sperling
0 siblings, 0 replies; only message in thread
From: Stefan Sperling @ 2004-11-09 21:33 UTC (permalink / raw)
To: kernel-janitors
Replaces MODULE_PARM with module_param calls in netwave_cs wireless driver.
--- drivers/net/wireless/netwave_cs.c.orig 2004-11-09 20:40:22.004922056 +0100
+++ drivers/net/wireless/netwave_cs.c 2004-11-08 23:08:32.000000000 +0100
@@ -161,7 +161,7 @@ static const unsigned int txConfLoop
#ifdef PCMCIA_DEBUG
static int pc_debug = PCMCIA_DEBUG;
-MODULE_PARM(pc_debug, "i");
+module_param(pc_debug, int, 0644);
#define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
static char *version "netwave_cs.c 0.3.0 Thu Jul 17 14:36:02 1997 (John Markus Bjørndalen)\n";
@@ -195,11 +195,11 @@ static int mem_speed;
static u_int irq_mask = 0xdeb8;
static int irq_list[4] = { -1 };
-MODULE_PARM(domain, "i");
-MODULE_PARM(scramble_key, "i");
-MODULE_PARM(mem_speed, "i");
-MODULE_PARM(irq_mask, "i");
-MODULE_PARM(irq_list, "1-4i");
+module_param(domain, uint, 0644);
+module_param(scramble_key, uint, 0644);
+module_param(mem_speed, int, 0444);
+module_param(irq_mask, uint, 0444);
+module_param_array(irq_list, int, NULL, 0444);
/*==================================*/
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-09 21:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09 21:33 [KJ] [PATCH] convert netwave_cs wireless driver to module_param Stefan Sperling
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.