From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Smirl Date: Tue, 15 Mar 2005 15:20:24 +0000 Subject: Re: Firmware class breaks udev Message-Id: <9e47339105031507206d083acb@mail.gmail.com> List-Id: References: <42369BE6.7020807@suse.de> In-Reply-To: <42369BE6.7020807@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Request_firmware should be generalized into request_initialization. For video cards I need to run a userspace vm86 posting program to init the card. Benh has also brought up that synchronous request_firmware() should be removed. All drivers would need to implement it asynchronously. Synchronous use has big problems coming back from suspend. This means that the driver probe model needs to be changed. We could add a new preprobe function that is only used to trigger the request_initialization(). After init is finished the real probe could be run. Another issue, a driver is loaded with a working card. Now another instance of the same card show up via hotplug. request_initialization() fail on this card for some reason. The user fixes the problem. Now how do I reprobe the card? I can't reload the driver without disrupting the first device. -- Jon Smirl jonsmirl@gmail.com ------------------------------------------------------- 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel