Messages in this thread | | | Subject | Re: Removing sysdevs? | From | Benjamin Herrenschmidt <> | Date | Thu, 03 Jul 2008 08:17:58 +1000 |
| |
On Wed, 2008-07-02 at 23:57 +0200, Andi Kleen wrote: > > The plan is: > > - remaining driver core cleanups to allow for multiple drivers > > to be bound to individual devices > > - add multiple binding support to the core > > - migrate existing sysdevs to struct device, now that multiple > > binding is allowed > > - delete sysdev structure > > - profit! > > I hope the sysdev semantics of running with interrupts etc. will be kept?
What "running with interrupts" ? :-) Are you talking specifically about suspend/resume ? In this case, normal devices also provide irq_off variants of suspend/resume.
In some areas, those semantics are even a problem for sysdevs. For example, it's been a pain in the neck for cpufreq on powermac not to be able to schedule in its suspend routine. Among others...
Cheers, Ben.
| |