Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mt7603
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-10-13 17:23:26 +0300
committerFelix Fietkau <nbd@nbd.name>2020-11-10 15:19:53 +0300
commit9a1a0a4dec71728c314938a205f87b320a71cb77 (patch)
treed9541c06c0065c5d9080082ca4e004d39ebfff75 /mt7603
parent68c4eedafd61e2fc9a3246cfb5d148fdfe254d64 (diff)
mt76: mt7603: add additional EEPROM chip ID
Some newer MT7628 based routers (notably the TP-Link Archer C50 v4) are shipped with a chip-id of 0x7600 in the on-flash EEPROM. Add this as a possible valid ID. Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2781 Suggested-by: Ron Asimi <ron.asimi@gmail.com> Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'mt7603')
-rw-r--r--mt7603/eeprom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mt7603/eeprom.c b/mt7603/eeprom.c
index 01f1e0da..9d5042af 100644
--- a/mt7603/eeprom.c
+++ b/mt7603/eeprom.c
@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)
switch (val) {
case 0x7628:
case 0x7603:
+ case 0x7600:
return 0;
default:
return -EINVAL;