From 106a56238ff319469f58d6e844a3e6259925427a Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 5 Feb 2018 21:31:07 +0100 Subject: ar71xx: rename COMFAST CF-E355AC to CF-E355AC v1 There are now supported two versions of the CF-E355AC board which differ in 802.11ac radio chip. Include version number in board, model, image filename, etc., also for the v1. Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 8 ++------ .../ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 2 +- target/linux/ar71xx/base-files/lib/ar71xx.sh | 4 ++-- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) (limited to 'target/linux/ar71xx/base-files') 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 99e4141e7e..85f104a5fd 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -215,12 +215,8 @@ cf-e375ac) ucidef_set_led_switch "lan" "LAN" "comfast:green:lan" "switch0" "0x04" ucidef_set_led_wlan "wlan1" "WLAN" "comfast:blue:wlan" "phy1tpt" ;; -cf-e355ac|\ -cf-e355ac-v2) - ucidef_set_led_netdev "lan" "LAN" "cf-e355ac:green:lan" "eth0" - ucidef_set_led_wlan "wlan2g" "WLAN2G" "cf-e355ac:blue:wlan2g" "phy1tpt" - ucidef_set_led_wlan "wlan5g" "WLAN5G" "cf-e355ac:red:wlan5g" "phy0tpt" - ;; +cf-e355ac-v1|\ +cf-e355ac-v2|\ cf-e380ac-v1|\ cf-e380ac-v2) ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index f1301d0556..3aa5e3c90f 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -63,7 +63,7 @@ case "$FIRMWARE" in ath10kcal_extract "art" 20480 2116 ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1) ;; - cf-e355ac|\ + cf-e355ac-v1|\ cf-e380ac-v1|\ cf-e380ac-v2|\ dlan-pro-1200-ac|\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 9df2853e36..842f1c5081 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -516,8 +516,8 @@ ar71xx_board_detect() { *"CF-E320N v2") name="cf-e320n-v2" ;; - *"CF-E355AC") - name="cf-e355ac" + *"CF-E355AC v1") + name="cf-e355ac-v1" ;; *"CF-E355AC v2") name="cf-e355ac-v2" diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index bc28e8b3aa..c408c7dfce 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -208,7 +208,7 @@ platform_check_image() { carambola2|\ cf-e316n-v2|\ cf-e320n-v2|\ - cf-e355ac|\ + cf-e355ac-v1|\ cf-e355ac-v2|\ cf-e375ac|\ cf-e380ac-v1|\ -- cgit v1.2.3