diff mbox series

[v2,1/1] apu2: add definitions for apu4/6

Message ID 20221228074523.2436091-1-philipp@redfish-solutions.com
State Superseded
Delegated to: Hauke Mehrtens
Headers show
Series [v2,1/1] apu2: add definitions for apu4/6 | expand

Commit Message

Philip Prindeville Dec. 28, 2022, 7:45 a.m. UTC
From: Philip Prindeville <philipp@redfish-solutions.com>

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
---
 target/linux/x86/base-files/etc/board.d/01_leds    | 2 +-
 target/linux/x86/base-files/etc/board.d/02_network | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

Comments

Philip Prindeville Jan. 2, 2023, 6:37 p.m. UTC | #1
New versions of the patches have been sent upstream:

https://www.spinics.net/lists/platform-driver-x86/msg36198.html
https://www.spinics.net/lists/linux-x86_64/msg00629.html

And rather than review via email on this list, I've moved the work to a PR:

https://github.com/openwrt/openwrt/pull/11651

Please follow-up there with any suggestions.

Thanks



> On Dec 28, 2022, at 12:45 AM, Philip Prindeville <philipp@redfish-solutions.com> wrote:
> 
> From: Philip Prindeville <philipp@redfish-solutions.com>
> 
> Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
> ---
> target/linux/x86/base-files/etc/board.d/01_leds    | 2 +-
> target/linux/x86/base-files/etc/board.d/02_network | 3 +++
> 2 files changed, 4 insertions(+), 1 deletion(-)
> 
> 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 74ad2d59fe135e57f0c5455e9ab67c62df7e03d9..b42f73f63282d5ebfe5a792347c151882c6fe459 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|pc-engines-apu6)
> 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 9335e297ba22bba9a86219e1dac6d17c3d9d889d..3b661353e5f36c40ad13fe8fe4ff20b5d6957efb 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|pc-engines-apu6)
> + ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0"
> + ;;
> roqos-roqos-core-rc10)
> ucidef_set_interfaces_lan_wan "eth1" "eth0"
> ;;
> -- 
> 2.34.1
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

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 74ad2d59fe135e57f0c5455e9ab67c62df7e03d9..b42f73f63282d5ebfe5a792347c151882c6fe459 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|pc-engines-apu6)
 	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 9335e297ba22bba9a86219e1dac6d17c3d9d889d..3b661353e5f36c40ad13fe8fe4ff20b5d6957efb 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|pc-engines-apu6)
+	ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0"
+	;;
 roqos-roqos-core-rc10)
 	ucidef_set_interfaces_lan_wan "eth1" "eth0"
 	;;