summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2015-02-06 16:58:37 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-12 10:45:30 -0600
commitc7b8e0e72a54f6d7dae96cbc3283a8fde7495b7f (patch)
tree76c4d6267926282cf8bc50ec1eb7b80130bad50c /src
parent02e8cfeafe60b5937a01d994d1dc25ec165eeece (diff)
downloadtalos-hostboot-c7b8e0e72a54f6d7dae96cbc3283a8fde7495b7f.tar.gz
talos-hostboot-c7b8e0e72a54f6d7dae96cbc3283a8fde7495b7f.zip
Update Event Response for PNOR Handshake
Change-Id: Ib4344802a9e96a1f3e6e3f8cbee5b77c12bee2e5 RTC:120127 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15668 Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Elizabeth Liner <eliner@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/usr/ipmi/ipmiif.H3
-rw-r--r--src/usr/ipmi/ipmirp.C4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/include/usr/ipmi/ipmiif.H b/src/include/usr/ipmi/ipmiif.H
index 9b41bda3f..29867f5eb 100644
--- a/src/include/usr/ipmi/ipmiif.H
+++ b/src/include/usr/ipmi/ipmiif.H
@@ -237,6 +237,9 @@ namespace IPMI
inline const command_t pnor_request(void)
{ return std::make_pair(NETFUN_IBM, 0x07); }
+ inline const command_t pnor_response(void)
+ { return std::make_pair(NETFUN_IBM, 0x08); }
+
// $TODO RTC:123256 - need to add code to get dcmi capabilities
// This is a dcmi message used to request the
// user defined power limit from the BMC.
diff --git a/src/usr/ipmi/ipmirp.C b/src/usr/ipmi/ipmirp.C
index 3e4141ad0..e3a53512d 100644
--- a/src/usr/ipmi/ipmirp.C
+++ b/src/usr/ipmi/ipmirp.C
@@ -372,10 +372,8 @@ static void rejectPnorRequest(void)
uint8_t* data = new uint8_t(reject_request);
IPMI_TRAC("rejecting pnor access request %x", *data);
- // TODO: RTC: 120127, check to ensure this works properly on a newer BMC
-
uint8_t len = 0;
- errlHndl_t err = send(IPMI::pnor_request(), len, data);
+ errlHndl_t err = send(IPMI::pnor_response(), len, data);
if (err)
{
err->collectTrace(IPMI_COMP_NAME);
OpenPOWER on IntegriCloud