Asynchronous driver initialization and request_firmware/post
BenH and I have been emailing about how to load a driver that needs firmware or posting. He wants to do this asynchronously to support things like suspend/resume. It looks like the current synchronous request_firmware() is going to have trouble with resume.
Is there a mechanism for letting the driver load and probe with the probe function doing nothing but triggering the firmware/posting event and then mark the driver off-line somehow? The problem is, you load the driver and the firmware or post program is mission or set up wrong, how do you inform the user of the error? Shouldn't this be done in a standard way?
Signature · 13 lines
Jon Smirl [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Another variation on this, the driver is loaded and servicing a device. Now another instance of the device arrives via hotplug. The firmware/post fails on the second card and needs to be retried. How can you trigger this without stopping the first device?
Signature · 13 lines
Jon Smirl [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel