Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fboss/lib/bsp/bspmapping/test/ParserTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ TEST(ParserTest, GetNameForTests) {
EXPECT_EQ(
facebook::fboss::Parser::getNameFor(
facebook::fboss::PlatformType::PLATFORM_TAHANSB800BC),
"tahansb");
"tahansb800bc");
EXPECT_EQ(
facebook::fboss::Parser::getNameFor(
facebook::fboss::PlatformType::PLATFORM_LADAKH800BCLS),
Expand Down
2 changes: 1 addition & 1 deletion fboss/lib/platforms/PlatformMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ inline std::string toString(PlatformType mode) {
case PlatformType::PLATFORM_ICETEA800BC:
return "ICETEA";
case PlatformType::PLATFORM_TAHANSB800BC:
return "TAHANSB";
return "TAHANSB800BC";
case PlatformType::PLATFORM_WEDGE800CACT:
return "WEDGE800CACT";
case PlatformType::PLATFORM_LADAKH800BCLS:
Expand Down
2 changes: 1 addition & 1 deletion fboss/lib/platforms/PlatformProductInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void PlatformProductInfo::initMode() {
} else if (
modelName.find("JANGA800BIC") == 0 || modelName.find("JANGA") == 0) {
type_ = PlatformType::PLATFORM_JANGA800BIC;
} else if (modelName.find("TAHANSB") == 0) {
} else if (modelName.find("TAHANSB800BC") == 0) {
type_ = PlatformType::PLATFORM_TAHANSB800BC;
} else if (
modelName.find("TAHAN") == 0 || modelName.find("TAHAN800BC") == 0 ||
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"platformName": "TAHANSB",
"rootPmUnitName": "TAHANSB_MCB",
"platformName": "TAHANSB800BC",
"rootPmUnitName": "TAHANSB800BC_MCB",
"rootSlotType": "MCB_SLOT",
"slotTypeConfigs": {
"MCB_SLOT": {
Expand All @@ -10,7 +10,7 @@
"address": "0x53",
"kernelDeviceName": "24c02"
},
"pmUnitName": "TAHANSB_MCB"
"pmUnitName": "TAHANSB800BC_MCB"
},
"RUNBMC_SLOT": {
"numOutgoingI2cBuses": 1,
Expand Down Expand Up @@ -99,7 +99,7 @@
]
},
"pmUnitConfigs": {
"TAHANSB_MCB": {
"TAHANSB800BC_MCB": {
"pluggedInSlotType": "MCB_SLOT",
"embeddedSensorConfigs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"pmUnitSensorsList": [
{
"slotPath": "/",
"pmUnitName": "TAHANSB_MCB",
"pmUnitName": "TAHANSB800BC_MCB",
"sensors": [
{
"name": "MCB_U17_FAN_1_F_RPM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const list<string> ALLOWED_PMUNIT_NAMES = [
"MINIPACK3N_MCB",
"ICECUBE_MCB",
"ICETEA_MCB",
"TAHANSB_MCB",
"TAHANSB800BC_MCB",
"LADAKH800BCLS_MCB",
// The whole board is a PmUnit for these
"TAHAN",
Expand Down
Loading