diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-03 23:21:54 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-07-10 17:36:28 +0200 |
commit | d93969a13a5b3db1fe5290466ce9de31be1616e3 (patch) | |
tree | 6baf42e786b4d513201b24678666e77fd449cee2 /target/linux/ramips/base-files | |
parent | dcb5cf85c8196b2ba35a0aa395f2247ed2163121 (diff) | |
download | upstream-d93969a13a5b3db1fe5290466ce9de31be1616e3.tar.gz upstream-d93969a13a5b3db1fe5290466ce9de31be1616e3.tar.bz2 upstream-d93969a13a5b3db1fe5290466ce9de31be1616e3.zip |
ramips: Improve compatible for TP-Link Archer devices
Include "Archer" in compatible as it is part of the device name.
Update Makefile device names where necessary to match compatible.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 10 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 10 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index d020347d72..62ea8b9ec6 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -330,23 +330,23 @@ tplink,tl-wr841n-v14) ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e" ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01" ;; -tplink,c2-v1) +tplink,archer-c2-v1) ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch1" "0x1e" ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch1" "0x01" set_wifi_led "$boardname:green:wlan" ;; -tplink,c20-v1) +tplink,archer-c20-v1) ucidef_set_led_switch "lan" "lan" "$boardname:blue:lan" "switch0" "0x1e" ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x01" ucidef_set_led_netdev "wlan2g" "wlan2g" "$boardname:blue:wlan2g" "wlan0" ;; -tplink,c20-v4) +tplink,archer-c20-v4) ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e" ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01" ucidef_set_led_netdev "wlan2g" "wlan2g" "$boardname:green:wlan2g" "wlan0" ;; -tplink,c50-v3|\ -tplink,c50-v4) +tplink,archer-c50-v3|\ +tplink,archer-c50-v4) ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e" ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01" ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index b13590566c..ec2be9715c 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -238,9 +238,9 @@ ramips_setup_interfaces() mzk-wdpr|\ rt-n14u|\ skylab,skw92a|\ - tplink,c20-v4|\ - tplink,c50-v3|\ - tplink,c50-v4|\ + tplink,archer-c20-v4|\ + tplink,archer-c50-v3|\ + tplink,archer-c50-v4|\ tplink,tl-mr3420-v5|\ tplink,tl-wr842n-v5|\ tl-wr840n-v4|\ @@ -261,7 +261,7 @@ ramips_setup_interfaces() "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; c50|\ - tplink,c20-v1) + tplink,archer-c20-v1) ucidef_add_switch "switch0" \ "1:lan:3" "2:lan:4" "3:lan:1" "4:lan:2" "0:wan" "6@eth0" ;; @@ -324,7 +324,7 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" ;; edimax,br-6478ac-v2|\ - tplink,c2-v1) + tplink,archer-c2-v1) ucidef_add_switch "switch1" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 7372a37939..65522b23fd 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -45,7 +45,7 @@ platform_do_upgrade() { xiaomi,mir3p) nand_do_upgrade "$ARGV" ;; - tplink,c50-v4) + tplink,archer-c50-v4) MTD_ARGS="-t romfile" default_do_upgrade "$ARGV" ;; |