From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Firmware class breaks udev
Date: Thu, 17 Mar 2005 06:03:46 +0000 [thread overview]
Message-ID: <20050317060346.GB14644@kroah.com> (raw)
In-Reply-To: <42369BE6.7020807@suse.de>
On Tue, Mar 15, 2005 at 10:20:24AM -0500, Jon Smirl wrote:
> Request_firmware should be generalized into request_initialization.
> For video cards I need to run a userspace vm86 posting program to init
> the card.
Ok, got patch? :)
> 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.
Agreed. Anyone want to fix all the drivers that use this?
> 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.
That's tougher. I'm working on allowing this kind of stuff, but we
don't need to have a preprobe function. Basically the driver can bind
itself later, from outside the probe function. But again, the core
locking needs to be fixed up, which is getting there...
> 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.
Userspace can do this today with pci devices, they will be able to do
this for any device soon (see above comment about locking...)
thanks,
greg k-h
-------------------------------------------------------
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_id\x14396&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
prev parent reply other threads:[~2005-03-17 6:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-15 8:25 Firmware class breaks udev Hannes Reinecke
2005-03-15 12:17 ` Kay Sievers
2005-03-15 13:09 ` Hannes Reinecke
2005-03-15 15:06 ` Kay Sievers
2005-03-15 15:20 ` Jon Smirl
2005-03-15 16:07 ` Hannes Reinecke
2005-03-15 16:20 ` Greg KH
2005-03-16 7:27 ` Hannes Reinecke
2005-03-16 15:52 ` Jon Smirl
2005-03-16 20:25 ` Kay Sievers
2005-03-17 6:01 ` Greg KH
2005-03-17 6:03 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050317060346.GB14644@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).