Commit bf4a938a authored by David Bauer's avatar David Bauer Committed by Felix Fietkau

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=2781Suggested-by: default avatarRon Asimi <ron.asimi@gmail.com>
Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent bc348def
...@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev) ...@@ -141,6 +141,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev)
switch (val) { switch (val) {
case 0x7628: case 0x7628:
case 0x7603: case 0x7603:
case 0x7600:
return 0; return 0;
default: default:
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment