aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.c
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2006-10-10 16:59:02 -0400
committerJeff Garzik <jeff@garzik.org>2006-10-11 04:04:25 -0400
commite2874f2e8c3695953b9ec26d396d678a7128ee64 (patch)
tree0256e7192cd3e43cba0905a7c995cafb198805b6 /drivers/net/spider_net.c
parenta02d601dd59d08a77563499cc05b48603df8f4a4 (diff)
[PATCH] Spidernet module parm permissions
The module param permsissions should bw read-only, not writable. From: James K Lewis <jklewis@us.ibm.com> Signed-off-by: James K Lewis <jklewis@us.ibm.com> Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r--drivers/net/spider_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 96dafb0f563d..ff409a10274e 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -60,8 +60,8 @@ MODULE_VERSION(VERSION);
60static int rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_DEFAULT; 60static int rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_DEFAULT;
61static int tx_descriptors = SPIDER_NET_TX_DESCRIPTORS_DEFAULT; 61static int tx_descriptors = SPIDER_NET_TX_DESCRIPTORS_DEFAULT;
62 62
63module_param(rx_descriptors, int, 0644); 63module_param(rx_descriptors, int, 0444);
64module_param(tx_descriptors, int, 0644); 64module_param(tx_descriptors, int, 0444);
65 65
66MODULE_PARM_DESC(rx_descriptors, "number of descriptors used " \ 66MODULE_PARM_DESC(rx_descriptors, "number of descriptors used " \
67 "in rx chains"); 67 "in rx chains");