1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Markus Stockhausen 4c4b698a9c realtek: proper RTL8214FC fibre/copper detection
The RTL8214FC currently uses generic PHY functions. That makes it look like a copper
device. Switching to/from fibre works fortunately but the autonegotiation handling
still works on MII_LPA (PHY register 5) as if a copper link is used. Fix that by

- advertising a superset of TP/FIBRE features
- using clause 37 functions when on fibre

Additionally enhance the code of the driver to assist further development.

- log the speed of the inserted module to detect wrongly inserted 10gbase-r modules
- order phy driver functions alphabetically (keep match/name on top)
- remove genphy_loopback as the kernel uses it if not provided

Remark! The driver internally uses PORT_MII for the TP port. Align with that and
report MII to ethtool instead of TP. Other drivers do the same and it can be
changed in the future if needed.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18724
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 4cfd1c4501)
Link: https://github.com/openwrt/openwrt/pull/18755
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-08 21:19:31 +02:00
..
airoha kernel: bump 6.6 to 6.6.89 2025-05-07 20:53:17 +02:00
apm821xx apm821xx: NETGEAR WNDR4700: Fix compat version 2025-01-27 23:53:29 +01:00
archs38
armsr armsr: change image names to 'combined-efi' 2025-01-16 21:07:53 +01:00
at91
ath79 ath79: add calibtation variant for TP-Link Archer C6 v2 2025-06-06 09:43:40 +02:00
bcm27xx kernel: refresh patches 2025-05-28 13:22:00 +02:00
bcm47xx kernel: bump 6.6 to 6.6.78 2025-02-25 23:16:17 +01:00
bcm53xx kernel: bump 6.6 to 6.6.90 2025-05-28 13:22:00 +02:00
bcm4908
bmips bmips: add missing NAND config symbol 2025-05-14 11:39:20 +02:00
d1 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-19 09:24:43 +01:00
gemini
generic generic: backport brcm legacy dsa tag fix 2025-06-01 16:41:26 +02:00
imx kernel: bump 6.6 to 6.6.90 2025-05-28 13:22:00 +02:00
ipq40xx ipq40xx: enable WiFi LED for Teltonika RUTX50 2025-06-05 14:12:09 +02:00
ipq806x ipq806x: fix broken WAN on Linksys EAX and Asrock G10 2025-02-03 01:55:01 +01:00
ixp4xx ixp4xx: Break out mv88e6060 DSA switch to package 2025-01-04 19:27:05 +01:00
kirkwood
lantiq kernel: bump 6.6 to 6.6.88 2025-05-07 20:53:16 +02:00
layerscape kernel: bump 6.6 to 6.6.88 2025-05-07 20:53:16 +02:00
loongarch64 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-19 09:24:43 +01:00
malta
mediatek mediatek: add support for TP-Link Archer AX80v1(US/RU/CA) 2025-06-08 21:07:36 +02:00
mpc85xx kernel: bump 6.6 to 6.6.90 2025-05-28 13:22:00 +02:00
mvebu mvebu: armada37xx: add pending PXA I2C recovery fix 2025-05-21 10:26:20 +02:00
mxs
octeon octeon: ubnt-usg: add board name to supported devices 2025-01-27 02:10:46 +01:00
omap
pistachio
qoriq
qualcommax qualcommax: ipq807x: add support for Linksys MX4300 (LN1301) 2025-02-16 13:03:23 +01:00
ramips ramips: mt7621: add support for Arcadyan WE410443 2025-06-08 21:12:52 +02:00
realtek realtek: proper RTL8214FC fibre/copper detection 2025-06-08 21:19:31 +02:00
rockchip rockchip: add missing symbol 2025-06-08 15:54:37 +02:00
sifiveu
siflower
starfive kernel: bump 6.6 to 6.6.90 2025-05-28 13:22:00 +02:00
stm32 stm32: add missing config option 2025-05-28 13:22:00 +02:00
sunxi
tegra
uml
x86 x86: add missing configuration 2025-05-28 13:22:00 +02:00
zynq
Makefile linux: fix missing default packages in profiles.json 2025-01-03 11:14:12 +01:00