summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2014-10-31 16:18:55 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-12-13 10:28:12 -0600
commitbdf9a8c834ee8c608f4462e146a2f957c08919c2 (patch)
tree687845f32fe66fd288905649424dfe0f47b24275 /src/include
parent6442105c625774bfac33a57fe6b76c18bcb5665b (diff)
downloadtalos-hostboot-bdf9a8c834ee8c608f4462e146a2f957c08919c2.tar.gz
talos-hostboot-bdf9a8c834ee8c608f4462e146a2f957c08919c2.zip
IPMI interface for fru write data command
Change-Id: I3c0c4c7c14521f1b64af37d62e57a5947602ed11 RTC: 116453 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14393 Reviewed-by: Brian Silver <bsilver@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/ipmi/ipmiif.H12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/include/usr/ipmi/ipmiif.H b/src/include/usr/ipmi/ipmiif.H
index ae03f8394..cd3c26161 100644
--- a/src/include/usr/ipmi/ipmiif.H
+++ b/src/include/usr/ipmi/ipmiif.H
@@ -126,22 +126,26 @@ namespace IPMI
inline const command_t get_capabilities(void)
{ return std::make_pair(NETFUN_APP, 0x36); }
+
// Storage messages
inline const command_t set_sel_time(void)
{ return std::make_pair(NETFUN_STORAGE, 0x49); }
- // event messages
+ inline const command_t write_fru_data(void)
+ { return std::make_pair(NETFUN_STORAGE, 0x12); }
+
+
+ // Sensor messages
inline const command_t platform_event(void)
{ return std::make_pair(NETFUN_SENSOR, 0x02); }
- // sensor messages
inline const command_t set_sensor_reading(void)
{ return std::make_pair(NETFUN_SENSOR, 0x30); }
- // sensor messages
inline const command_t get_sensor_reading(void)
{ return std::make_pair(NETFUN_SENSOR, 0x2D); }
+
// Some helper messages
// Used to create an empty message for reception
inline const command_t no_command(void)
@@ -208,7 +212,7 @@ namespace IPMI
* @return the maximum space allowed for data, per message
* (max message for the transport - the header size)
*/
- inline size_t max_buffer(void);
+ size_t max_buffer(void);
}; // end namespace IPMI
OpenPOWER on IntegriCloud