Re: Passing argument to USB Storage driver
"Kevin Lloyd" <[email protected]> Tue, 8 Jan 2008 10:00:16 -0800
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 8, 2008 9:43 AM, Oliver Neukum <[email protected]> wrote: > Am Dienstag, 8. Januar 2008 18:10:41 schrieb Kevin Lloyd: > > An acceptable solution would be to have the driver read settings from > > the file-system. Is there a standardized way to do this (and location > > for the files)? > > This is not an acceptable solution. Before you commit such a layering > violation, use a module parameter. > > Regards > Oliver > > So my only option is to create a new module_param in the usb-storage usb.c driver? Even if I #ifdef it it seems like little messy of a solution, are there any other suggestions? WRT to the other solution you suggested against (file-system based), I know this is likely a dumb question, but is there not a way for drivers to read user space controlled settings (something analogous to the Windows registry)? Thanks, -Kevin ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel