aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic
diff options
context:
space:
mode:
authorMichal Cieslakiewicz <michal.cieslakiewicz@wp.pl>2020-01-20 21:19:29 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-03 11:28:05 +0100
commit3b99d6763996d4cf8d59361f25046cc8086da332 (patch)
tree1693fdc1f3861dc09208fd7d0c400dc8d8ff27c2 /target/linux/ath79/generic
parent8216766ad97db2f20e30b6622343d8d473ad9d68 (diff)
downloadupstream-3b99d6763996d4cf8d59361f25046cc8086da332.tar.gz
upstream-3b99d6763996d4cf8d59361f25046cc8086da332.tar.bz2
upstream-3b99d6763996d4cf8d59361f25046cc8086da332.zip
ath79: WNDR3700 v2: add dash before version in device name
Adapt Netgear WNDR3700v2 device identification string to ath79 naming scheme by changing from 'wndr3700v2' to 'wndr3700-v2' (affects config, makefile, init scripts and device tree definition). Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Diffstat (limited to 'target/linux/ath79/generic')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/02_network4
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom4
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index 4630cf8447..f5196be77f 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -180,7 +180,7 @@ ath79_setup_interfaces()
"0@eth0" "2:lan" "3:lan" "4:lan" "1:wan"
;;
netgear,wndr3700|\
- netgear,wndr3700v2|\
+ netgear,wndr3700-v2|\
netgear,wndr3800|\
netgear,wndr3800ch)
ucidef_set_interface_wan "eth1"
@@ -386,7 +386,7 @@ ath79_setup_macs()
label_mac=$wan_mac
;;
netgear,wndr3700|\
- netgear,wndr3700v2|\
+ netgear,wndr3700-v2|\
netgear,wndr3800)
lan_mac=$(macaddr_setbit_la "$(mtd_get_mac_binary art 0x0)")
;;
diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 7a813b0db1..312acc8684 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -114,7 +114,7 @@ case "$FIRMWARE" in
case $board in
buffalo,wzr-hp-ag300h|\
netgear,wndr3700|\
- netgear,wndr3700v2|\
+ netgear,wndr3700-v2|\
netgear,wndr3800|\
netgear,wndr3800ch)
caldata_extract "art" 0x1000 0xeb8
@@ -132,7 +132,7 @@ case "$FIRMWARE" in
case $board in
buffalo,wzr-hp-ag300h|\
netgear,wndr3700|\
- netgear,wndr3700v2|\
+ netgear,wndr3700-v2|\
netgear,wndr3800|\
netgear,wndr3800ch)
caldata_extract "art" 0x5000 0xeb8