From d65ab37e0daa39c4f5aafaa99e3868f9f68ef956 Mon Sep 17 00:00:00 2001 From: tariqx Date: Thu, 4 Dec 2003 23:17:32 +0000 Subject: [PATCH] o Updated Changelog o Enabled IPMI's SEL info's UpdateTimestamp, now it comes out correct -- verified with hpisel --- ChangeLog | 19 +++++++++++++++++++ examples/list_resources.c | 1 + src/event.c | 1 - src/hotswap.c | 2 +- 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1ebac778..c17babcd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2003-12-04 TariqX + * src/plugins/ipmi/ipmi.c: + Enabled retrieval of IPMI SEL UpdateTimestamp. + + * src/plugins/ipmi/ipmi_sel.c: + Added functions to get IPMI SEL UpdateTimestamp. + +2003-12-03 yzhuang + * src/plugins/ipmi/ipmi.c: + Added missing abi function clear_sel. + + * src/plugins/ipmi/ipmi_sel.c: + Added functions to enable IPMI SEL clear. + +2003-12-02 TariqX + * Changlog: + Beging update of Changelog with CVS check-ins to be + ready when providing a new release. + 2003-07-18 yzhuang * include/openhpi.h, src/safhpi.c, src/session.c: diff --git a/examples/list_resources.c b/examples/list_resources.c index 369b3b47a..b0a27a884 100644 --- a/examples/list_resources.c +++ b/examples/list_resources.c @@ -140,6 +140,7 @@ SaErrorT discover_domain(SaHpiDomainIdT domain_id, SaHpiSessionIdT session_id, S if (entry.ResourceCapabilities & SAHPI_CAPABILITY_SEL) { saHpiEventLogInfoGet(session_id, entry.ResourceId, &info); + printf("\t\tEntries in SEL: %d", info.Entries); } if (entry.ResourceCapabilities & SAHPI_CAPABILITY_RDR) list_rdr(session_id, entry.ResourceId); diff --git a/src/event.c b/src/event.c index 453c68ab8..f65de4818 100644 --- a/src/event.c +++ b/src/event.c @@ -174,7 +174,6 @@ static int get_handler_event(struct oh_handler *h, RPTable *rpt) int rv; rv = h->abi->get_event(h->hnd, &event, &to); if(rv < 1) { - dbg("No event found"); return rv; } switch (event.type) { diff --git a/src/hotswap.c b/src/hotswap.c index 2a3a227ba..b2209a188 100644 --- a/src/hotswap.c +++ b/src/hotswap.c @@ -35,7 +35,7 @@ void process_hotswap_policy(struct oh_handler *handler) get_hotswap_state = handler->abi->get_hotswap_state; if (!get_hotswap_state) { - dbg(" Very bad thing here"); + dbg(" Very bad thing here or hotswap not yet supported"); return; }