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
1 change: 1 addition & 0 deletions .github/pr-projects.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"ladakh800bcls",
"m4061nhp",
"m4062nhp",
"m4340nhp",
"meru800bfa",
"meru800bia",
"minipack",
Expand Down
2 changes: 2 additions & 0 deletions cmake/LedService.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ add_library(led_manager_lib
fboss/led_service/Icecube800banwLedManager.cpp
fboss/led_service/Icecube800bcLedManager.cpp
fboss/led_service/M4052ACTMLedManager.cpp
fboss/led_service/M4061nhpLedManager.cpp
fboss/led_service/M4062nhpLedManager.cpp
fboss/led_service/Icetea800bcLedManager.cpp
fboss/led_service/Meru800biaLedManager.cpp
Expand Down Expand Up @@ -94,6 +95,7 @@ target_link_libraries(led_manager_lib
montblanc_bsp
m4061clsc_bsp
icecube800bc_bsp
m4061nhp_bsp
m4062nhp_bsp
icetea800bc_bsp
meru800bia_bsp
Expand Down
11 changes: 11 additions & 0 deletions cmake/QsfpService.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,16 @@ target_link_libraries(saintpaul_bsp
FBThrift::thriftcpp2
)

add_library(m4061nhp_bsp
fboss/lib/bsp/m4061nhp/M4061nhpBspPlatformMapping.cpp
)

target_link_libraries(m4061nhp_bsp
bsp_platform_mapping
bsp_platform_mapping_cpp2
FBThrift::thriftcpp2
)

add_library(m4062nhp_bsp
fboss/lib/bsp/m4062nhp/M4062nhpBspPlatformMapping.cpp
)
Expand Down Expand Up @@ -326,6 +336,7 @@ target_link_libraries(qsfp_bsp_core
leh800bcls_bsp
saintpaul_bsp
m4052actm_bsp
m4061nhp_bsp
m4062nhp_bsp
m5120csc_bsp
device_mdio
Expand Down
2 changes: 2 additions & 0 deletions fboss/agent/hw/test/ProdConfigFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ uint16_t uplinksCountFromSwitch(PlatformType mode) {
case PM::PLATFORM_ICECUBE800BC:
case PM::PLATFORM_ICETEA800BC:
case PM::PLATFORM_MONTBLANC:
case PM::PLATFORM_M4061NHP:
case PM::PLATFORM_M4062NHP:
case PM::PLATFORM_M5120CSC:
return 4;
Expand Down Expand Up @@ -195,6 +196,7 @@ cfg::PortSpeed getPortSpeed(PlatformType platformType) {
portSpeed = cfg::PortSpeed::TWOHUNDREDG;
break;
case PlatformType::PLATFORM_MONTBLANC:
case PlatformType::PLATFORM_M4061NHP:
portSpeed = cfg::PortSpeed::FOURHUNDREDG;
break;
case PlatformType::PLATFORM_MINIPACK3N:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ TEST(
PlatformType::PLATFORM_M4062NHP,
PlatformType::PLATFORM_M4061CLSC,
PlatformType::PLATFORM_M5120CSC,
PlatformType::PLATFORM_M4340NHP,
PlatformType::PLATFORM_M4061NHP,
futurePlatformType,
};
for (const auto type : platformTypes) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"platformType": 60,
"productNamePrefixes": [
"M4061NHP"
],
"modeNames": [
"m4061nhp"
],
"asicType": 18,
"numSwitchAsics": 1
}
Loading
Loading