summaryrefslogtreecommitdiffstats
path: root/selutility.hpp
diff options
context:
space:
mode:
authorPradeep Kumar <pradeep1x.kumar@intel.com>2019-04-26 17:04:28 +0000
committerRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2019-05-03 03:28:39 +0000
commit00a18d040be228bb77c322db26cc3d53c8579a50 (patch)
tree01a6a7e1d219d698ae65dc6b3302eee84ce6e263 /selutility.hpp
parent5d06cc6dfee3aa0c42bb181dd7e050f4f8f8dd1e (diff)
downloadphosphor-host-ipmid-00a18d040be228bb77c322db26cc3d53c8579a50.tar.gz
phosphor-host-ipmid-00a18d040be228bb77c322db26cc3d53c8579a50.zip
storagehandler: move delete SEL to new API
Rewritten "Delete SEL" command to use the newly introduced IPMI provider API. Tested: Verified the behavior to be same as previous change. ipmitool sel delete 5 Unable to delete entry 5: Requested sensor, data, or record not found Change-Id: I3b40be056ed1c9b3bb5ac75387c694abe16403b5 Signed-off-by: Pradeep Kumar <pradeep1x.kumar@intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'selutility.hpp')
-rw-r--r--selutility.hpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/selutility.hpp b/selutility.hpp
index 806f937..d31a65e 100644
--- a/selutility.hpp
+++ b/selutility.hpp
@@ -86,16 +86,6 @@ struct GetSELEntryResponse
uint8_t eventData3; //!< Event Data 3.
} __attribute__((packed));
-/** @struct DeleteSELEntryRequest
- *
- * IPMI payload for Delete SEL Entry command request.
- */
-struct DeleteSELEntryRequest
-{
- uint16_t reservationID; //!< Reservation ID.
- uint16_t selRecordID; //!< SEL Record ID.
-} __attribute__((packed));
-
static constexpr auto initiateErase = 0xAA;
static constexpr auto getEraseStatus = 0x00;
static constexpr auto eraseComplete = 0x01;
OpenPOWER on IntegriCloud