Re: device_suspend() levels [was Re: [patch] ACPI work on aic7xxx]

Benjamin Herrenschmidt
2004-07-20T18:27:52Z

> Seems to me, aside from whether it's an enum or not, it should represent
> a D-state not an ACPI S-state. Some platforms (Power Mac?) probably
> implement PCI power management but not in an ACPI way.

2 comments here:

- The low level bus state (PCI D state for example) and the "linux"
state should be 2 different entities.

- For PCI, we probably want a hook so the arch can implement it's own
version of pci_set_power_state() so that ACPI can use it's own trickery
there.

Ben.