From: Stefan Sperling <stefan@binarchy.net>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] convert netwave_cs wireless driver to module_param
Date: Tue, 09 Nov 2004 21:33:52 +0000 [thread overview]
Message-ID: <20041109213352.GE9496@dice.seeling33.de> (raw)
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
reply other threads:[~2004-11-09 21:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041109213352.GE9496@dice.seeling33.de \
--to=stefan@binarchy.net \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.