diff options
author | Ben Collins <bcollins@ubuntu.com> | 2006-06-13 00:13:42 +0200 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-06-13 00:13:42 +0200 |
commit | fa9b73997cc621b9a15c96f07dda26775e61ac6a (patch) | |
tree | 2bb2606a0bda551d662ae75554ebb044cc02e749 /drivers/ieee1394 | |
parent | ohci1394: set address range properties (diff) | |
download | linux-fa9b73997cc621b9a15c96f07dda26775e61ac6a.tar.xz linux-fa9b73997cc621b9a15c96f07dda26775e61ac6a.zip |
ohci1394: make phys_dma parameter read-only
Being able to switch physical DMA on and off at run time would be a nice
feature but a PITA to support by highlevel drivers and userspace apps.
Therefore allow it only to be set when the driver is being loaded.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 63b71fa997fc..c858f5f94d35 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c @@ -163,7 +163,7 @@ printk(level "%s: fw-host%d: " fmt "\n" , OHCI1394_DRIVER_NAME, ohci->host->id , /* Module Parameters */ static int phys_dma = 1; -module_param(phys_dma, int, 0644); +module_param(phys_dma, int, 0444); MODULE_PARM_DESC(phys_dma, "Enable physical dma (default = 1)."); static void dma_trm_tasklet(unsigned long data); |