[][kernel][common][eth][Fix 1G/2.5G RJ-45 SFP IOT issues]
[Description]
Fix 1G/2.5G SFP IOT issues.
- ADOP SFP-1GE-T-AD and SK-LiNK SFP-GE-T-100 1G RJ-45 SFP
The Marvell 88E1111 of the SFP does not report speed capabilities
from either BMSR or ESTATUS registers, utilize the feature callback
function of the PHY drvier instead.
- SK-LiNK SFP-GE-LX20-SM1310/SM1550-BIDI 1G Optical SFP
The EEPROM checksum value of the SFP is incorrect, print
warning messages to instead of returning error.
- 10Gtek ASF-2G2-T and TL-SM410U 2.5G RJ-45 SFP
The EEPROM of the SFP does not report speed capabilities, utilize
the quirk_list to report its.
[Release-log]
N/A
Change-Id: I8e732a98c5565e2192fbf0195eb9d23c5b952d1f
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7560882
diff --git a/target/linux/mediatek/mt7988/config-5.4 b/target/linux/mediatek/mt7988/config-5.4
index e706419..9906113 100644
--- a/target/linux/mediatek/mt7988/config-5.4
+++ b/target/linux/mediatek/mt7988/config-5.4
@@ -263,6 +263,7 @@
CONFIG_LZO_DECOMPRESS=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_SERIAL=y
+CONFIG_MARVELL_PHY=y
CONFIG_MARVELL_10G_PHY=y
CONFIG_MAXLINEAR_GPHY=y
CONFIG_MD=y