diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/usr/errl/errlentry.H | 9 | ||||
| -rw-r--r-- | src/include/usr/vpd/vpd_if.H | 9 | ||||
| -rw-r--r-- | src/include/usr/vpd/vpdreasoncodes.H | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 27fcf126f..38624ab6b 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -711,6 +711,15 @@ private: */ void addHbBuildId(); + /** + * @brief called by addHwCallout to retrieve the serial and part number + * from the current target. If the current target does not contain + * ATTR_PART_NUMBER or ATTR_SERIAL_NUMBER, find the first parent that does + * and adds the attribute to the error log. + * + * @param[in] i_target The target to get the numbers for + */ + void addPartAndSerialNumbersToErrLog(const TARGETING::Target * i_target); /** * @brief Disabled copy constructor and assignment operator diff --git a/src/include/usr/vpd/vpd_if.H b/src/include/usr/vpd/vpd_if.H index d3915ee6a..eff196042 100644 --- a/src/include/usr/vpd/vpd_if.H +++ b/src/include/usr/vpd/vpd_if.H @@ -70,6 +70,15 @@ namespace VPD */ bool cvpdPresent ( TARGETING::Target * i_target ); + + /** + * @brief This function sets the part and serial number attributes for + * a given target + * @param[in] i_target - the target to set the attributes for + * + */ + void setPartAndSerialNumberAttributes( TARGETING::Target * i_target ); + /** * @brief This function checks to see if the given pvpd target * is present diff --git a/src/include/usr/vpd/vpdreasoncodes.H b/src/include/usr/vpd/vpdreasoncodes.H index 2cfe8a68a..9692a4a78 100644 --- a/src/include/usr/vpd/vpdreasoncodes.H +++ b/src/include/usr/vpd/vpdreasoncodes.H @@ -48,6 +48,7 @@ enum vpdModuleId // Common VPD VPD_WRITE_PNOR = 0x10, VPD_ENSURE_CACHE_IS_IN_SYNC = 0x11, + VPD_GET_PN_AND_SN = 0x12, // IPVPD VPD_IPVPD_TRANSLATE_RECORD = 0x20, |

