summaryrefslogtreecommitdiffstats
path: root/storagehandler.hpp
diff options
context:
space:
mode:
authoranil kumar appana <anil.kumarx.appana@intel.com>2019-05-27 18:10:23 +0000
committerVernon Mauery <vernon.mauery@linux.intel.com>2020-01-14 16:25:34 +0000
commit5b7c3266d3f8e49f48f1fed43caed078c8a8af8d (patch)
tree14c312f8adc6bdca11819baaed6021822ff4d731 /storagehandler.hpp
parentc665652df4c6d05f34ae1af49b2e7756629abbe3 (diff)
downloadphosphor-host-ipmid-5b7c3266d3f8e49f48f1fed43caed078c8a8af8d.tar.gz
phosphor-host-ipmid-5b7c3266d3f8e49f48f1fed43caed078c8a8af8d.zip
storagehandler: move read FRU data to new API
Rewrite "Read FRU Data" command to new IPMI provider API. Tested: 1. verified Read FRU data is same both before and after the changes ipmitool raw 0x0a 0x11 0x74 58 00 3 //request 03 32 36 31 //response Signed-off-by: anil kumar appana <anil.kumarx.appana@intel.com> Change-Id: I3bd497068462ee97a7b3fe648c3b0727f998bb0b
Diffstat (limited to 'storagehandler.hpp')
-rw-r--r--storagehandler.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/storagehandler.hpp b/storagehandler.hpp
index d093980..6c91905 100644
--- a/storagehandler.hpp
+++ b/storagehandler.hpp
@@ -21,23 +21,3 @@ enum ipmi_netfn_storage_cmds
IPMI_CMD_SET_SEL_TIME = 0x49,
};
-
-/**
- * @struct Read FRU Data command request data
- */
-struct ReadFruDataRequest
-{
- uint8_t fruID; ///< FRU Device ID. FFh = reserved
- uint8_t offsetLS; ///< FRU Inventory Offset to read, LS Byte
- uint8_t offsetMS; ///< FRU Inventory Offset ro read, MS Byte
- uint8_t count; ///< Count to read
-} __attribute__((packed));
-
-/**
- * @struct Read FRU Data command response data
- */
-struct ReadFruDataResponse
-{
- uint8_t count; ///< Response data Count.
- uint8_t data[]; ///< Response data.
-} __attribute__((packed));
OpenPOWER on IntegriCloud