summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/hwp/erepairGetFailedLanesHwp.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/hwpf/hwp/erepairGetFailedLanesHwp.H')
-rw-r--r--src/include/usr/hwpf/hwp/erepairGetFailedLanesHwp.H13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/include/usr/hwpf/hwp/erepairGetFailedLanesHwp.H b/src/include/usr/hwpf/hwp/erepairGetFailedLanesHwp.H
index 5c0231bab..a798d2296 100644
--- a/src/include/usr/hwpf/hwp/erepairGetFailedLanesHwp.H
+++ b/src/include/usr/hwpf/hwp/erepairGetFailedLanesHwp.H
@@ -39,16 +39,21 @@
#include <fapi.H>
#include <erepairConsts.H>
+
+typedef fapi::ReturnCode (*erepairGetFailedLanesHwp_FP_t)(
+ const fapi::Target &i_tgtHandle,
+ std::vector<uint8_t> &o_txFailLanes,
+ std::vector<uint8_t> &o_rxFailLanes);
+
extern "C"
{
/**
* @brief FW Team HWP that retrieves the eRepair fail lanes.
* It retrieves the eRepair data from the P8 MVPD and the Centaur FRU
- * VPD. It then parses the eRepair data to determine the fail lane
- * numbers on the sub-interfaces (Tx and Rx) of the passed bus target.
- * Only Field eRepair data reading is currently supported.
- * Manufacturing eRepair data reading is not supported yet.
+ * VPD sections reserved for Field usage. It then parses the
+ * eRepair data to determine the fail lane numbers on the sub-interfaces
+ * (Tx and Rx) of the passed bus target.
*
* @param[in] i_tgtHandle Reference to X-Bus or A-Bus or MCS or Target
* @param[o] o_txFailLanes Reference to a vector that will hold eRepair fail
OpenPOWER on IntegriCloud