diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C index 850e5c2fc5c..2227c8be2d8 100755 --- a/src/usr/i2c/i2c.C +++ b/src/usr/i2c/i2c.C @@ -3846,7 +3846,7 @@ void getDeviceInfo( TARGETING::Target* i_i2cMaster, l_currentDI.masterPort = l_eep->port; l_currentDI.addr = l_eep->devAddr; l_currentDI.slavePort = 0xFF; - l_currentDI.busFreqKhz = (l_eep->busFreq) * 1000; + l_currentDI.busFreqKhz = (l_eep->busFreq) / 1000; l_currentDI.deviceType = TARGETING::HDAT_I2C_DEVICE_TYPE_SEEPROM; switch(l_eep->device) { @@ -3906,7 +3906,7 @@ void getDeviceInfo( TARGETING::Target* i_i2cMaster, l_currentDI.masterPort = tpmInfo.port; l_currentDI.addr = tpmInfo.devAddr; l_currentDI.slavePort = 0xFF; - l_currentDI.busFreqKhz = (tpmInfo.busFreq) * 1000; + l_currentDI.busFreqKhz = (tpmInfo.busFreq) / 1000; l_currentDI.deviceType = TARGETING::HDAT_I2C_DEVICE_TYPE_NUVOTON_TPM; l_currentDI.devicePurpose = TARGETING::HDAT_I2C_DEVICE_PURPOSE_TPM; @@ -3979,7 +3979,7 @@ void getDeviceInfo( TARGETING::Target* i_i2cMaster, l_currentDevice.masterPort = l_i2cMasterPort[l_idx]; l_currentDevice.addr = l_i2cAddr[l_idx]; l_currentDevice.slavePort = l_i2cSlavePort[l_idx]; - l_currentDevice.busFreqKhz = l_i2cBusFreq[l_idx] * 1000; + l_currentDevice.busFreqKhz = l_i2cBusFreq[l_idx] / 1000; l_currentDevice.deviceType = l_i2cDevType[l_idx]; l_currentDevice.devicePurpose = l_i2cDevPurpose[l_idx]; diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index a319a97a218..cdeb6cf7efb 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -33468,27 +33468,31 @@ Measured in GB 955X - 0 + 1 SEEPROM - 1 + 2 NUVOTON_TPM - 2 + 3 MEX_FPGA - 3 + 4 UCX90XX - 4 + 5 + + + NVLINK + 6 UNKNOWN - 5 + FF @@ -33499,47 +33503,51 @@ Measured in GB CABLE_CARD_PRES - 0 + 1 CABLE_CARD_POWER_SENSE - 1 + 2 CABLE_CARD_POWER_CONTROL - 2 + 3 TPM - 3 + 4 MODULE_VPD - 4 + 5 DIMM_SPD - 5 + 6 PROC_MODULE_VPD - 6 + 7 SBE_SEEPROM - 7 + 8 PLANAR_VPD - 8 + 9 PCI_HOTPLUG - 9 + A + + + NVLINK + B UNKNOWN - 10 + FF