diff options
author | Henryk Heisig <hyniu@o2.pl> | 2017-02-16 15:22:49 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-02-17 10:30:48 +0100 |
commit | d6baeb5c480f547f13f92b8994cf467d25e2ef7e (patch) | |
tree | 6c0c5fe071857c3bb560ff4b518f96351eb3c03c /target/linux/ar71xx/base-files/etc/board.d | |
parent | ab20c638b6c6a204482a721eead6f3f1b33288c5 (diff) | |
download | upstream-d6baeb5c480f547f13f92b8994cf467d25e2ef7e.tar.gz upstream-d6baeb5c480f547f13f92b8994cf467d25e2ef7e.tar.bz2 upstream-d6baeb5c480f547f13f92b8994cf467d25e2ef7e.zip |
ar71xx: fix lan ports on archer C59 and C60
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 13 |
2 files changed, 9 insertions, 8 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index af02877721..70f5dac944 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -51,8 +51,8 @@ antrouter-r1) ;; archer-c59-v1|\ archer-c60-v1) - ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x3C" - ucidef_set_led_switch "wan" "WAN" "$board:green:wan" "switch0" "0x02" + ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x1E" + ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0" ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt" ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 621a010671..3ae35f1a81 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -206,9 +206,15 @@ ar71xx_setup_interfaces() "0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan" ;; archer-c59-v1|\ + rb-450g) + ucidef_set_interfaces_lan_wan "eth1.1" "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2" + ;; archer-c60-v1) + ucidef_set_interfaces_lan_wan "eth1.1" "eth0" ucidef_add_switch "switch0" \ - "0@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "5:lan:1" "1:wan" + "0@eth1" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" ;; arduino-yun|\ dir-505-a1|\ @@ -374,11 +380,6 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth1" ;; - rb-450g) - ucidef_set_interfaces_lan_wan "eth1.1" "eth0" - ucidef_add_switch "switch0" \ - "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2" - ;; routerstation-pro) ucidef_set_interfaces_lan_wan "eth1.1" "eth0" ucidef_add_switch "switch0" \ |