mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-19 11:34:37 +04:00
ipq806x: fix ethernet aliases
G10 and WPQ864 alias ethernet1 to &gmac0, which is never enabled on either board; the GMAC that actually is enabled, gmac2, has no alias. The following commit will force netdev naming from the DT alias, so point ethernet1 at gmac2 to keep both active GMACs aliased. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/25143 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
1 parent
be388d995d
commit
cec87757d8
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@
|
||||
|
||||
aliases {
|
||||
ethernet0 = &gmac1;
|
||||
ethernet1 = &gmac0;
|
||||
ethernet1 = &gmac2;
|
||||
|
||||
led-boot = &led_status_blue;
|
||||
led-failsafe = &led_status_amber;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
aliases {
|
||||
mdio-gpio0 = &mdio0;
|
||||
ethernet0 = &gmac1;
|
||||
ethernet1 = &gmac0;
|
||||
ethernet1 = &gmac2;
|
||||
|
||||
led-boot = &led_pass;
|
||||
led-failsafe = &led_fail;
|
||||
|
||||
Reference in new issue
Block a user