[PATCH] ppc32: pmac sleep support update

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jan 20 09:44:18 EST 2005

On Wed, 2005-01-19 at 13:45 +0000, David Woodhouse wrote:
> On Tue, 2005-01-18 at 12:32 +1100, Benjamin Herrenschmidt wrote:
> > This patch updates the PowerMac sleep support. The ability to sleep is now broken
> > into 2 different flags, one, "may sleep" is set for all motherboards that we know
> > how to put to sleep and wakeup. It gets turned into "can sleep" upon a call from
> > the video driver indicating the ability to wakeup the video card. 
> Why do it like this? Drivers already have the ability to veto sleep
> requests, surely?

But they don't, besides, you may just not have a driver for the card
(that is things like offb don't register as a pci_driver, etc...)

It's a mecanism that can/will be improved in the future, but for now,
it suits my needs perfectly.


More information about the Linuxppc-dev mailing list