Nodemgr's ignore_drivers variable is exposed as a module load parameter (therefore also as a sysfs attribute below /sys/module) and additionally as an attribute below /sys/bus/ieee1394. Since the latter is writable, make the former writable too. Note, the bus's attribute ignore_drivers is only relevant to newly added units, not to present or suspended or resuming units. Those have their own attribute ignore_driver. Signed-off-by: Stefan Richter <[email protected]> --- Index: linux/drivers/ieee1394/nodemgr.c =================================================================== --- linux.orig/drivers/ieee1394/nodemgr.c 2006-06-18 09:15:45.000000000 +0200 +++ linux/drivers/ieee1394/nodemgr.c 2006-06-18 11:27:13.000000000 +0200 @@ -27,7 +27,7 @@ #include "nodemgr.h" static int ignore_drivers; -module_param(ignore_drivers, int, 0444); +module_param(ignore_drivers, int, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(ignore_drivers, "Disable automatic probing for drivers."); struct nodemgr_csr_info { - 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-rc6-mm2 4/6] ieee1394: nodemgr: switch to kthread API
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc6-mm2 4/6] ieee1394: nodemgr: switch to kthread API
- References:
- [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Stefan Richter <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Ben Collins <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Ben Collins <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc6-mm2 0/6] ieee1394: nodemgr: misc API conversions
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc6-mm2 1/6] ieee1394: nodemgr: remove unnecessary includes
- From: Stefan Richter <[email protected]>
- [PATCH 2.6.17-rc6-mm2 2/6] ieee1394: do not spawn a kernel_thread for user-initiated bus rescan
- From: Stefan Richter <[email protected]>
- [PATCH] kthread conversion: convert ieee1394 from kernel_thread
- Prev by Date: [PATCH 2.6.17-rc6-mm2 2/6] ieee1394: do not spawn a kernel_thread for user-initiated bus rescan
- Next by Date: [PATCH 2.6.17-rc6-mm2 4/6] ieee1394: nodemgr: switch to kthread API
- Previous by thread: [PATCH 2.6.17-rc6-mm2 2/6] ieee1394: do not spawn a kernel_thread for user-initiated bus rescan
- Next by thread: [PATCH 2.6.17-rc6-mm2 4/6] ieee1394: nodemgr: switch to kthread API
- Index(es):