diff options
author | Wael El-Essawy <welessa@us.ibm.com> | 2016-10-05 12:08:56 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2016-10-05 13:44:57 -0400 |
commit | 64fcfd7e3f3899e761d21eda204b53114d494aaa (patch) | |
tree | 715e40c64e9f026843440a19bee33879601bb365 | |
parent | 1ed8d89e173f8902b3b3bf0ed6da89b80ed31b75 (diff) | |
download | talos-occ-64fcfd7e3f3899e761d21eda204b53114d494aaa.tar.gz talos-occ-64fcfd7e3f3899e761d21eda204b53114d494aaa.zip |
Fix Centaur Control Module ID
Even though the code is commented out, it has to be fixed
to pass the firestation test.
Change-Id: I6ed3829cb8ae0a329f9e4d78d6c7aba9cd69a71d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30737
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
-rwxr-xr-x | src/occ_405/cent/centaur_control.c | 4 | ||||
-rwxr-xr-x | src/occ_405/cent/centaur_data_service_codes.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/occ_405/cent/centaur_control.c b/src/occ_405/cent/centaur_control.c index 08e3005..9f61eb0 100755 --- a/src/occ_405/cent/centaur_control.c +++ b/src/occ_405/cent/centaur_control.c @@ -471,7 +471,7 @@ bool check_centaur_checkstop(uint8_t cent) /* @ * @errortype - * @moduleid CENT_TASK_CONTROL_MOD + * @moduleid CENT_CONTROL_MOD * @reasoncode CENT_SCOM_ERROR * @userdata1 rc - Return code of scom operation * @userdata2 index of scom operation that failed @@ -479,7 +479,7 @@ bool check_centaur_checkstop(uint8_t cent) * @devdesc OCC access to centaur failed */ l_err = createErrl( - CENT_TASK_CONTROL_MOD, // modId + CENT_CONTROL_MOD, // modId CENT_SCOM_ERROR, // reasoncode OCC_NO_EXTENDED_RC, // Extended reason code ERRL_SEV_PREDICTIVE, // Severity diff --git a/src/occ_405/cent/centaur_data_service_codes.h b/src/occ_405/cent/centaur_data_service_codes.h index c15853a..85515ba 100755 --- a/src/occ_405/cent/centaur_data_service_codes.h +++ b/src/occ_405/cent/centaur_data_service_codes.h @@ -46,6 +46,7 @@ enum centModuleId { CENT_TASK_DATA_MOD = CENT_COMP_ID | 0x00, CENTAUR_INIT_MOD = CENT_COMP_ID | 0x01, + CENT_CONTROL_MOD = CENT_COMP_ID | 0x02, CENT_RECOVERY_MOD = CENT_COMP_ID | 0x03, }; |