On Jun 13, 2008, at 10:36 AM, Christian Krafft wrote:

This patch is needed to make ipmi_poweroff working on powerpc.
It straightens the poweroff procedure to match with other architectures. At the moment powerpc plattforms can define their poweroff method using ppc_md.power_off. The only way for plattform independent driver (ipmi_poweroff) to register it's poweroff function is to use pm_power_off. So machine_power_off should check whether pm_power_off has been set and if so it should be used.
If not, plattform dependent ppc_md.power_off should be called.

It seems like this should be the other way around. Meaning ppc_md.power_off should be called first than pm_power_off. If a platform provides a power off mechanism that should presuming take precedence over the ipmi_poweroff.

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to