Re: [linux-pm] [patch 2.6.25-rc6 7/7] PCI set up device.power.can_wakeup flags

Alan Stern
2008-03-20T21:53:08Z

On Thu, 20 Mar 2008, David Brownell wrote:

> A previous version of this patch broke on PowerPC platforms after they
> changed how they do early PCI initialization (following the first version
> of this patch). Potentially the real fix involves switching PCI init on
> all platforms so they all adopt the driver model "init() then add()" model,
> calling device_initialize() early and pci_setup_device() before device_add().

Would it help to break this apart into two patches: the first to switch
PCI over to the driver model approach, and the second to set up the
can_wakeup flags? Those really are two very different goals.

What are the barriers to doing the first part right now? Is it just
PPC?

Alan Stern