diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2006-10-10 22:59:02 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 10:04:25 +0200 |
commit | e2874f2e8c3695953b9ec26d396d678a7128ee64 (patch) | |
tree | 0256e7192cd3e43cba0905a7c995cafb198805b6 /drivers | |
parent | [PATCH] powerpc/cell spidernet burst alignment patch. (diff) | |
download | linux-e2874f2e8c3695953b9ec26d396d678a7128ee64.tar.xz linux-e2874f2e8c3695953b9ec26d396d678a7128ee64.zip |
[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')
-rw-r--r-- | drivers/net/spider_net.c | 4 |
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); static int rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_DEFAULT; static int tx_descriptors = SPIDER_NET_TX_DESCRIPTORS_DEFAULT; -module_param(rx_descriptors, int, 0644); -module_param(tx_descriptors, int, 0644); +module_param(rx_descriptors, int, 0444); +module_param(tx_descriptors, int, 0444); MODULE_PARM_DESC(rx_descriptors, "number of descriptors used " \ "in rx chains"); |