summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/hwpf/hwp/bus_training/erepairGetFailedLanesHwp.C8
-rw-r--r--src/usr/hwpf/hwp/bus_training/erepairGetMnfgFailedLanesHwp.C8
2 files changed, 14 insertions, 2 deletions
diff --git a/src/usr/hwpf/hwp/bus_training/erepairGetFailedLanesHwp.C b/src/usr/hwpf/hwp/bus_training/erepairGetFailedLanesHwp.C
index 19fb3a66b..3d1f03e17 100644
--- a/src/usr/hwpf/hwp/bus_training/erepairGetFailedLanesHwp.C
+++ b/src/usr/hwpf/hwp/bus_training/erepairGetFailedLanesHwp.C
@@ -348,12 +348,18 @@ fapi::ReturnCode determineRepairLanes(const fapi::Target &i_tgtHandle,
// Note: This is currently not required.
// Check if we have the matching the Fabric Bus types
- if((l_fabricBus->type != EREPAIR::PROCESSOR_EI4) &&
+ if((l_tgtType == fapi::TARGET_TYPE_ABUS_ENDPOINT) &&
(l_fabricBus->type != EREPAIR::PROCESSOR_EDI))
{
continue;
}
+ if((l_tgtType == fapi::TARGET_TYPE_XBUS_ENDPOINT) &&
+ (l_fabricBus->type != EREPAIR::PROCESSOR_EI4))
+ {
+ continue;
+ }
+
// Check if we have the matching fabric bus interface
l_rc = FAPI_ATTR_GET(ATTR_CHIP_UNIT_POS,&i_tgtHandle,l_busNum);
if(l_rc)
diff --git a/src/usr/hwpf/hwp/bus_training/erepairGetMnfgFailedLanesHwp.C b/src/usr/hwpf/hwp/bus_training/erepairGetMnfgFailedLanesHwp.C
index 375fbfb8d..aeaa23a7f 100644
--- a/src/usr/hwpf/hwp/bus_training/erepairGetMnfgFailedLanesHwp.C
+++ b/src/usr/hwpf/hwp/bus_training/erepairGetMnfgFailedLanesHwp.C
@@ -352,12 +352,18 @@ fapi::ReturnCode determineMnfgRepairLanes(const fapi::Target &i_tgtHandle,
// Note: This is currently not required.
// Check if we have the matching the Fabric Bus types
- if((l_fabricBus->type != EREPAIR::PROCESSOR_EI4) &&
+ if((l_tgtType == fapi::TARGET_TYPE_ABUS_ENDPOINT) &&
(l_fabricBus->type != EREPAIR::PROCESSOR_EDI))
{
continue;
}
+ if((l_tgtType == fapi::TARGET_TYPE_XBUS_ENDPOINT) &&
+ (l_fabricBus->type != EREPAIR::PROCESSOR_EI4))
+ {
+ continue;
+ }
+
// Check if we have the matching fabric bus interface
l_rc = FAPI_ATTR_GET(ATTR_CHIP_UNIT_POS,&i_tgtHandle,l_busNum);
if(l_rc)
OpenPOWER on IntegriCloud