]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] pseries: Enabling auto poweron after power is restored.
authorManish Ahuja <ahuja@austin.ibm.com>
Thu, 8 Feb 2007 22:01:17 +0000 (16:01 -0600)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 Feb 2007 23:22:50 +0000 (10:22 +1100)
commit03209b8aa6a4b5210e917d2561112996d49df560
treed76a078f1b1737092528a4305357bc6384aeb041
parent9c90fb67a05aa01544811ba16ca16412a574b269
[POWERPC] pseries: Enabling auto poweron after power is restored.

During power outages, the UPS notifies the system for a shutdown.
In the current setup, it isn't possible to poweron when power is
restored.  This patch fixes the issue by calling the right
ibm,power-off-ups token during such events.  It also adds a sysfs
interface so userspace can specify whether or not to power on when
power is restored.

Signed-off-by: Manish Ahuja <ahuja@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/power.c [new file with mode: 0644]
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/setup.c