diff options
author | Bill Schwartz <whs@us.ibm.com> | 2013-01-30 16:30:42 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-02-08 10:34:35 -0600 |
commit | 74c20caefdab7f7aa9268dd3f359f2038cee8ccf (patch) | |
tree | b35a48fe1ea86bf181c16a5bfbcd4a5f5d823cab /src/usr/diag | |
parent | 6261fa26ccb412df36bb9ec400e85f9cc6e9cfb9 (diff) | |
download | talos-hostboot-74c20caefdab7f7aa9268dd3f359f2038cee8ccf.tar.gz talos-hostboot-74c20caefdab7f7aa9268dd3f359f2038cee8ccf.zip |
FAPI Interface to get the target on the other side of the DMI bus
Add new fapiGetOtherSideOfMemChannel function
Replace getAffinityChips with more general getChildAffinityTargets
and added getParentAffinityTargets to find MCS from Centaur.
RTC: 61987
Change-Id: I772ef95452215c54fdfab98998507e6db5a862d0
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3062
Tested-by: Jenkins Server
Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag')
-rw-r--r-- | src/usr/diag/attn/attntarget.C | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/src/usr/diag/attn/attntarget.C b/src/usr/diag/attn/attntarget.C index 2cc15d79d..0826ef6de 100644 --- a/src/usr/diag/attn/attntarget.C +++ b/src/usr/diag/attn/attntarget.C @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/usr/diag/attn/attntarget.C $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 2012 - * - * p1 - * - * Object Code Only (OCO) source materials - * Licensed Internal Code Source Materials - * IBM HostBoot Licensed Internal Code - * - * The source code for this program is not published or other- - * wise divested of its trade secrets, irrespective of what has - * been deposited with the U.S. Copyright Office. - * - * Origin: 30 - * - * IBM_PROLOG_END_TAG - */ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/attn/attntarget.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ /** * @file attntarget.C * @@ -168,7 +167,7 @@ TargetHandle_t TargetServiceImpl::getMembuf( TargetHandle_t membuf = NULL; TargetHandleList list; - getAffinityChips(list, i_mcs, TYPE_MEMBUF); + getChildAffinityTargets(list, i_mcs, CLASS_CHIP, TYPE_MEMBUF); if(list.size() == 1) { |