[PATCH] x86 generic: support pc-engines-apu4
Sam Lunt
samueljlunt at gmail.com
Tue Nov 15 06:34:46 PST 2022
This adds support for pc-engines-apu4, which, aside from having 4 LAN
ports, is nearly the same as the already-supported apu[123] variants.
Signed-off-by: Sam Lunt <samuel.j.lunt at gmail.com>
diff --git a/target/linux/x86/base-files/etc/board.d/01_leds
b/target/linux/x86/base-files/etc/board.d/01_leds
index 74ad2d59fe..449f370e41 100644
--- a/target/linux/x86/base-files/etc/board.d/01_leds
+++ b/target/linux/x86/base-files/etc/board.d/01_leds
@@ -11,7 +11,7 @@ cisco-mx100-hw)
ucidef_set_led_usbport "usb" "USB" "mx100:green:usb" "1-1-port2"
ucidef_set_led_default "diag" "DIAG" "mx100:green:tricolor" "1"
;;
-pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
+pc-engines-apu1|pc-engines-apu2|pc-engines-apu3|pc-engines-apu4)
ucidef_set_led_netdev "wan" "WAN" "apu:green:3" "eth0"
ucidef_set_led_netdev "lan" "LAN" "apu:green:2" "br-lan"
ucidef_set_led_default "diag" "DIAG" "apu:green:1" "1"
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 9335e297ba..99e5cf84ee 100644
--- a/target/linux/x86/base-files/etc/board.d/02_network
+++ b/target/linux/x86/base-files/etc/board.d/02_network
@@ -26,6 +26,9 @@ cisco-mx100-hw)
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
+pc-engines-apu4)
+ ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0"
+ ;;
roqos-roqos-core-rc10)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
More information about the openwrt-devel
mailing list