From 4ba1709c399b2f78ee987c1f0aff2b5da623244b Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 13 Oct 2020 16:23:26 +0200 Subject: [PATCH] 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 Signed-off-by: David Bauer (cherry picked from commit 9a1a0a4dec71728c314938a205f87b320a71cb77) --- mt7603/eeprom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mt7603/eeprom.c b/mt7603/eeprom.c index 2b6a4d8a..8dd1a58b 100644 --- a/mt7603/eeprom.c +++ b/mt7603/eeprom.c @@ -136,6 +136,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev) switch (val) { case 0x7628: case 0x7603: + case 0x7600: return 0; default: return -EINVAL;