We need to change structure in openIPMI based plug-in to
support ATCA systems by:
Change wait for SDR_read_done to be part of the callback
of the mc_update_handler.
This will force SDR_read done to be called only when
scan_bus is done and all MCs are discovered.
Logged In: YES
user_id=118691
To address this feature, I will be changing the structure of the
ipmi plug-in as follows:
Add a new int mc_count flag in the ohoi_handler structure
(ipmi.h).
For every MC operation reported by openIPMI, increment the
mc_count flag (initialized to 0) once.
For every mc_add operation, register
handler:ipmi_mc_set_sdrs_first_read_handler() which was
introduced in OpenIPMI 1.3.6 to read the SDRs of this MC. If no
SDRs, it will just return. This is in addition to the domain SDRs
handler which read the main SDR from the BMC or ShMC.
When ipmi_mc_set_sdrs_first_read_handler() calls back internal
function (new mc_SDRs_read_done), I will decrement the
mc_count counter.
In ipmi_discover_resources (ABI function) I will wait on:
mc_count, main SDRs read done and bus_scan.
Logged In: YES
user_id=118691
Basic ATCA discovery is now available.
Need to do additional testing.
Need to file bugs for invalid entity types.
Diff: