Re: Removing sysdevs?

From: Benjamin Herrenschmidt
Date: Wed Jul 02 2008 - 18:18:44 EST


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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/