| To: | David Gibson <hermes@xxxxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [7/14] Orinoco driver updates - use modern module_parm() |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Wed, 23 Feb 2005 23:35:35 -0500 |
| Cc: | Pavel Roskin <proski@xxxxxxx>, Orinoco Development List <orinoco-devel@xxxxxxxxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <20050224040024.GI32001@xxxxxxxxxxxxxxxxxxxxx> |
| References: | <20050224035355.GA32001@xxxxxxxxxxxxxxxxxxxxx> <20050224035445.GB32001@xxxxxxxxxxxxxxxxxxxxx> <20050224035524.GC32001@xxxxxxxxxxxxxxxxxxxxx> <20050224035650.GD32001@xxxxxxxxxxxxxxxxxxxxx> <20050224035718.GE32001@xxxxxxxxxxxxxxxxxxxxx> <20050224035804.GF32001@xxxxxxxxxxxxxxxxxxxxx> <20050224035957.GH32001@xxxxxxxxxxxxxxxxxxxxx> <20050224040024.GI32001@xxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 |
David Gibson wrote: Add descrptions to module parameters in the orinoco driver, and also add permissions to allow them to be exported in sysfs. Signed-off-by: David Gibson <hermes@xxxxxxxxxxxxxxxxxxxxx> Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== --- working-2.6.orig/drivers/net/wireless/orinoco.c 2005-02-10 13:19:14.000000000 +1100 +++ working-2.6/drivers/net/wireless/orinoco.c 2005-02-10 13:24:03.000000000 +1100 @@ -461,12 +461,14 @@ /* Level of debugging. Used in the macros in orinoco.h */ #ifdef ORINOCO_DEBUG int orinoco_debug = ORINOCO_DEBUG; -module_param(orinoco_debug, int, 0); +module_param(orinoco_debug, int, 0644); +MODULE_PARM_DESC(orinoco_debug, "Debug level"); EXPORT_SYMBOL(orinoco_debug); #endif
eventually it would be nice to support netif_msg_*
Jeff
|
| Previous by Date: | Re: [6/14] Orinoco driver updates - cleanup PCI initialization, Jeff Garzik |
|---|---|
| Next by Date: | Re: [14/14] Orinoco driver updates - update version and changelog, Jeff Garzik |
| Previous by Thread: | Re: [Orinoco-devel] Re: [8/14] Orinoco driver updates - PCMCIA initialization cleanups, Dominik Brodowski |
| Next by Thread: | Re: [6/14] Orinoco driver updates - cleanup PCI initialization, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |