This patch supersedes the one submitted earlier with title
"[PATCH 2.6.11.6] Add power cycle to ipmi_poweroff module".
Below is a patch to add "power cycle" functionality to the IPMI power
off module ipmi_poweroff. It also contains changes to support absence of
procfs feature.
Files affected by
The message handler and si are already using /proc/ipmi/. The
patch code simply reuse it. By the way, shouldn't we be using sysfs?
As for separating from power_off, it just seem so simple to integrate
the power cycle command into the power_off code. It could definitely be
a separate module.
Than
Below is a patch to add "power cycle" functionality to the IPMI power
off module ipmi_poweroff.
A new module param is added to support this:
parmtype: do_power_cycle:int
parm: do_power_cycle: Set to 1 to enable power cycle instead
of power down. Power cycle is contingent on hardwar
3 matches
Mail list logo