summaryrefslogtreecommitdiffstats
path: root/storagehandler.h
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2018-02-22 00:33:38 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2018-03-01 05:34:21 +0000
commit5ca50959438c3c99acfafe4d0ff301eb29b84233 (patch)
tree2029e9f55678f63251b0e1aa5b75a8f8aa226004 /storagehandler.h
parentdc212b235dbf0251f5da787316f629d615ede997 (diff)
downloadphosphor-host-ipmid-5ca50959438c3c99acfafe4d0ff301eb29b84233.tar.gz
phosphor-host-ipmid-5ca50959438c3c99acfafe4d0ff301eb29b84233.zip
Implement Get SDR and Reserve SDR repository command
Both Get SDR and Reserve SDR repository command is same as Get Device SDR and Reserve Device SDR command respectively. So the same implementation is shared. Resolves openbmc/openbmc#2615 Change-Id: I64e37837bc5a616bed41a3ceff7d63033d88455c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'storagehandler.h')
-rw-r--r--storagehandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/storagehandler.h b/storagehandler.h
index 497db82..1849fc7 100644
--- a/storagehandler.h
+++ b/storagehandler.h
@@ -8,6 +8,8 @@ enum ipmi_netfn_storage_cmds
IPMI_CMD_GET_FRU_INV_AREA_INFO = 0x10,
IPMI_CMD_GET_REPOSITORY_INFO = 0x20,
IPMI_CMD_READ_FRU_DATA = 0x11,
+ IPMI_CMD_RESERVE_SDR = 0x22,
+ IPMI_CMD_GET_SDR = 0x23,
IPMI_CMD_GET_SEL_INFO = 0x40,
IPMI_CMD_RESERVE_SEL = 0x42,
IPMI_CMD_GET_SEL_ENTRY = 0x43,
OpenPOWER on IntegriCloud