summaryrefslogtreecommitdiffstats
path: root/src/include/usr/ipmi/ipmiif.H
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2015-01-10 09:53:02 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-16 11:42:15 -0600
commit40bdceb3643cc691ef5caf0160abb48c834a9c4a (patch)
tree6d195111a704c87f8718449eaf1c365f34399930 /src/include/usr/ipmi/ipmiif.H
parent54f90468fb55fbb11fb6fdff819f55c27d396e6e (diff)
downloadtalos-hostboot-40bdceb3643cc691ef5caf0160abb48c834a9c4a.tar.gz
talos-hostboot-40bdceb3643cc691ef5caf0160abb48c834a9c4a.zip
Sensor: System ACPI Power state
Upon establishing BMC communication, set "System ACPI Power State" Sensor to "Legacy ON" Change-Id: I96f771305547ccba2fa9ef34edbdc2fc34c5418e RTC: 108825 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15079 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/ipmi/ipmiif.H')
-rw-r--r--src/include/usr/ipmi/ipmiif.H5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/usr/ipmi/ipmiif.H b/src/include/usr/ipmi/ipmiif.H
index cd3c26161..a3f11aebb 100644
--- a/src/include/usr/ipmi/ipmiif.H
+++ b/src/include/usr/ipmi/ipmiif.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -117,6 +117,9 @@ namespace IPMI
inline const command_t get_device_id(void)
{ return std::make_pair(NETFUN_APP, 0x01); }
+ inline const command_t set_acpi_power_state(void)
+ { return std::make_pair(NETFUN_APP, 0x06); }
+
inline const command_t set_watchdog(void)
{ return std::make_pair(NETFUN_APP, 0x24); }
OpenPOWER on IntegriCloud