From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Fri, 12 Jan 2001 23:45:18 +0000 Subject: Re: hotplug TTD Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, 12 Jan 2001 09:37:52 -0800, David Brownell wrote: >andrew.grover wrote >> And, I >> remember reading that the latest modutils had some mechanism to pass config >> info, but I haven't looked further.. > >That's module configuration data, not device configuration data. It can be either. The new mechanism allows for persistent module data, i.e. data values that are saved and restored across unload and reload, even across reboot. Modutils just saves and restores the data, it is up to the module to decide what to do with it. The obvious use is for user settings in media drivers; volume, balance, TV tuner settings etc. Does persistent data make sense for hotuplugging devices? It depends on the device and the driver. Even if you use persistent data, the driver has to cope with the case of no data. There is no data for the initial load and when the saved data is not available, for whatever reason. _______________________________________________ Linux-hotplug-devel mailing list Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel