aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2021-11-05 22:50:45 +0100
committerChristian Lamparter <chunkeey@gmail.com>2021-11-06 22:18:45 +0100
commit217571b6abb3118a81e1cde32dd1151a9e95a0fc (patch)
treeeff892308b5e0d052be8d128d42eaf8b9e8d502c /target/linux/ath79/generic
parentd91318662d5c290ce97bfb18c84e4cddc514f33a (diff)
downloadupstream-217571b6abb3118a81e1cde32dd1151a9e95a0fc.tar.gz
upstream-217571b6abb3118a81e1cde32dd1151a9e95a0fc.tar.bz2
upstream-217571b6abb3118a81e1cde32dd1151a9e95a0fc.zip
ath79: WNDR3700/3800/MAC: utilize nvmem for caldata fetching
converts the still popular WNDR3700 Series to fetch the caldata through nvmem. As the "MAC with NVMEM" has shown, there could pitfalls along the way. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ath79/generic')
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom16
1 files changed, 2 insertions, 14 deletions
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 3e02b066a9..9a3054e276 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
@@ -146,13 +146,7 @@ case "$FIRMWARE" in
"ath9k-eeprom-pci-0000:00:11.0.bin")
case $board in
buffalo,wzr-600dhp|\
- buffalo,wzr-hp-ag300h|\
- netgear,wndr3700|\
- netgear,wndr3700-v2|\
- netgear,wndr3800|\
- netgear,wndr3800ch|\
- netgear,wndrmac-v1|\
- netgear,wndrmac-v2)
+ buffalo,wzr-hp-ag300h)
caldata_extract "art" 0x1000 0xeb8
;;
dlink,dir-825-b1)
@@ -170,13 +164,7 @@ case "$FIRMWARE" in
"ath9k-eeprom-pci-0000:00:12.0.bin")
case $board in
buffalo,wzr-600dhp|\
- buffalo,wzr-hp-ag300h|\
- netgear,wndr3700|\
- netgear,wndr3700-v2|\
- netgear,wndr3800|\
- netgear,wndr3800ch|\
- netgear,wndrmac-v1|\
- netgear,wndrmac-v2)
+ buffalo,wzr-hp-ag300h)
caldata_extract "art" 0x5000 0xeb8
;;
dlink,dir-825-b1)