Ability 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 <[email protected]> Index: linux-2.6.17-rc5-mm2/drivers/ieee1394/ohci1394.c =================================================================== --- linux-2.6.17-rc5-mm2.orig/drivers/ieee1394/ohci1394.c 2006-06-01 20:55:45.000000000 +0200 +++ linux-2.6.17-rc5-mm2/drivers/ieee1394/ohci1394.c 2006-06-01 20:55:46.000000000 +0200 @@ -163,7 +163,7 @@ printk(level "%s: fw-host%d: " fmt "\n" /* 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 2.6.17-rc5-mm2 14/18] sbp2: sbp2 remove ohci1394 specific constant
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 14/18] sbp2: sbp2 remove ohci1394 specific constant
- References:
- [PATCH 2.6.17-rc5-mm2 00/18] ieee1394: misc updates
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 01/18] video1394: be quiet
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 02/18] ohci1394.c: function calls without effect
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 03/18] sbp2: make TSB42AA9 workaround specific to Momobay CX-1
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 04/18] Semaphore to mutex conversion.
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 05/18] raw1394: fix whitespace after x86_64 compat patch
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 06/18] ieee1394/ohci1394: CycleTooLong interrupt management
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 07/18] ieee1394: support for slow links or slow 1394b phy ports
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 08/18] ieee1394: save RAM by using a single tlabel for broadcast transactions
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 09/18] sbp2: remove manipulation of inquiry response
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 10/18] sbp2: log number of supported concurrent logins
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 11/18] ieee1394: extend lowlevel API for address range properties
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 12/18] ohci1394: set address range properties
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc5-mm2 00/18] ieee1394: misc updates
- Prev by Date: [PATCH 2.6.17-rc5-mm2 12/18] ohci1394: set address range properties
- Next by Date: [PATCH 2.6.17-rc5-mm2 14/18] sbp2: sbp2 remove ohci1394 specific constant
- Previous by thread: [PATCH 2.6.17-rc5-mm2 12/18] ohci1394: set address range properties
- Next by thread: [PATCH 2.6.17-rc5-mm2 14/18] sbp2: sbp2 remove ohci1394 specific constant
- Index(es):