Messages in this thread | | | Subject | Re: Asynchronous scsi scanning | From | Roland Dreier <> | Date | Tue, 15 May 2007 19:59:39 -0700 |
| |
> No, it does matter. Your suggestion doesn't work, because > /sys/module/scsi_mod/parameters/ belongs to the module code. To create > a new attribute there, you use the module_param() code -- and there's > no way to have code called when your parameter is changed.
If I'm not misunderstanding what you're talking about, there is actually a way to have code called when a module parameter is changed: module_param_call().
- R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |