diff options
| author | Til Kaiser | 2025-08-05 13:56:16 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-08-10 10:12:05 +0000 |
| commit | 551a6cef582ce9eb342a826c3ac3e40bddba7580 (patch) | |
| tree | 99b516d8aa856ace63734230053cee98a7fc3722 | |
| parent | 223c1de963df9414c298ac7ca6312ce799c9fd58 (diff) | |
| download | openwrt-551a6cef582ce9eb342a826c3ac3e40bddba7580.tar.gz | |
x86: add Minisforum MS-A2 Mini PC
This commit renames the network ports of the Minisforum MS-A2
Mini PC: the two 2.5G RJ45 ports are now named lan1 and lan2,
and the two 10G SFP+ ports sfp1 and sfp2.
All four ports are also added to the default lan interface.
--- Hardware Highlights ---
AMD Ryzen™ 9 9955HX/7945HX
Dual DDR5-5600MHz, up to 96GB
2x 10G SFP+, 2x 2.5G RJ45
WiFi 6E, Bluetooth 5.3
Built-in PCIe x16 Slot
Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/19689
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/x86/base-files/etc/board.d/02_network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network index aa61cf32fb..c4b33e24ce 100644 --- a/target/linux/x86/base-files/etc/board.d/02_network +++ b/target/linux/x86/base-files/etc/board.d/02_network @@ -60,6 +60,13 @@ gowin-solution-co-ltd-gw-mb-u01) ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 poe" "sfp1 sfp2" ;; +micro-computer-hk-tech-limited-ms-a2) + ucidef_set_network_device_path "lan1" "pci0000:00/0000:00:03.2/0000:04:00.0" + ucidef_set_network_device_path "lan2" "pci0000:00/0000:00:03.1/0000:03:00.0" + ucidef_set_network_device_path "sfp1" "pci0000:00/0000:00:02.1/0000:05:00.0" + ucidef_set_network_device_path "sfp2" "pci0000:00/0000:00:02.1/0000:05:00.1" + ucidef_set_interface_lan "lan1 lan2 sfp1 sfp2" + ;; pc-engines-apu1|pc-engines-apu2|pc-engines-apu3) ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0" ;; |