aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-06-05 15:59:30 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-06-10 11:25:41 +0200
commitfcb920ffe70af7a3b962d893916aee1619c5fb8e (patch)
tree3fadf63f2031da0912cfb4bc1e720437d1acb5a7 /target/linux/ath79/base-files
parent4d807ad2d95f000707d595d9aa52bc1e8aacbf0c (diff)
downloadupstream-fcb920ffe70af7a3b962d893916aee1619c5fb8e.tar.gz
upstream-fcb920ffe70af7a3b962d893916aee1619c5fb8e.tar.bz2
upstream-fcb920ffe70af7a3b962d893916aee1619c5fb8e.zip
ath79: Consistently label art partition with lower case
This patch harmonizes the label and alias for art partitions across ath79. Since lower case seems to be more frequent, use that consistently. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom2
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata9
3 files changed, 5 insertions, 8 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index a2cd0ac3a6..99e7825c67 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -285,7 +285,7 @@ ath79_setup_macs()
;;
elecom,wrc-1750ghbk2-i|\
elecom,wrc-300ghbk2-i)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary ART 4098)" -2)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary art 4098)" -2)
;;
engenius,ecb1750)
lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index ce4df2521b..e6b6d2f230 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -144,7 +144,7 @@ case "$FIRMWARE" in
ath9k_eeprom_extract "art" 4096 3768
;;
buffalo,wzr-hp-g450h)
- ath9k_eeprom_extract "ART" 4096 1088
+ ath9k_eeprom_extract "art" 4096 1088
;;
dlink,dir-825-c1|\
dlink,dir-835-a1)
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 607c04a75f..c3bdc94866 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -100,7 +100,7 @@ case "$FIRMWARE" in
ath10kcal_patch_mac $(mtd_get_mac_ascii devdata "wlan5mac")
;;
elecom,wrc-1750ghbk2-i)
- ath10kcal_extract "ART" 20480 2116
+ ath10kcal_extract "art" 20480 2116
;;
engenius,ecb1750)
ath10kcal_extract "art" 20480 2116
@@ -134,19 +134,16 @@ case "$FIRMWARE" in
ath10kcal_patch_mac $(mtd_get_mac_binary art 12)
;;
openmesh,om5p-ac-v2)
- ath10kcal_extract "ART" 20480 2116
+ ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;;
tplink,archer-a7-v5|\
+ tplink,archer-c2-v3|\
tplink,archer-c7-v4|\
tplink,archer-c7-v5)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 8) -1)
;;
- tplink,archer-c2-v3)
- ath10kcal_extract "ART" 20480 2116
- ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 8) -1)
- ;;
tplink,archer-c5-v1|\
tplink,archer-c7-v2)
ath10kcal_extract "art" 20480 2116