diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2018-02-18 22:49:10 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2018-02-22 18:53:22 +0100 |
commit | 1b0e7a1453ad968cd866b9d206a588caabbbb835 (patch) | |
tree | f924b1e62f2f960b63bf974926da718734d0589a /target/linux/ar71xx/base-files/etc/board.d | |
parent | 650a5e993b3b252da511e90706f3759d5ea68ce1 (diff) | |
download | upstream-1b0e7a1453ad968cd866b9d206a588caabbbb835.tar.gz upstream-1b0e7a1453ad968cd866b9d206a588caabbbb835.tar.bz2 upstream-1b0e7a1453ad968cd866b9d206a588caabbbb835.zip |
ar71xx: fix COMFAST CF-E375AC support
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 7 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 10 |
2 files changed, 7 insertions, 10 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 1b308d7f77..2d0bf2cffa 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -210,13 +210,9 @@ cf-e320n-v2) ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1" ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt" ;; -cf-e375ac) - ucidef_set_led_switch "wan" "WAN" "comfast:red:wan" "switch0" "0x02" - ucidef_set_led_switch "lan" "LAN" "comfast:green:lan" "switch0" "0x04" - ucidef_set_led_wlan "wlan1" "WLAN" "comfast:blue:wlan" "phy1tpt" - ;; cf-e355ac-v1|\ cf-e355ac-v2|\ +cf-e375ac|\ cf-e380ac-v1|\ cf-e380ac-v2|\ cf-e385ac) @@ -224,6 +220,7 @@ cf-e385ac) ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:red:wlan5g" "phy0tpt" case "$board" in + cf-e375ac|\ cf-e385ac) ucidef_set_led_switch "lan" "LAN" "$board:green:lan" "switch0" "0x04" ;; 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 434056a344..f4e113a814 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -266,6 +266,11 @@ ar71xx_setup_interfaces() rme-eg200) ucidef_set_interface_lan "eth0" "dhcp" ;; + cf-e375ac|\ + rb-map-2nd) + ucidef_add_switch "switch0" \ + "0@eth0" "1:wan" "2:lan" + ;; cf-e385ac) ucidef_set_interfaces_lan_wan "eth0.1" "eth1.2" ucidef_add_switch "switch0" \ @@ -447,11 +452,6 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch1" \ "0@eth1" "1:lan:4" "2:lan:1" "3:lan:3" "4:lan:2" "5:wan" ;; - cf-e375ac |\ - rb-map-2nd) - ucidef_add_switch "switch0" \ - "0@eth0" "1:wan" "2:lan" - ;; rut900) ucidef_set_interfaces_lan_wan "eth0.1" "eth1" ucidef_add_switch "switch0" \ |