mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-15 00:02:11 -05:00
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> |
||
|---|---|---|
| .. | ||
| base-files | ||
| dts | ||
| files/firmware/rtl838x_phy | ||
| files-6.6 | ||
| image | ||
| patches-6.6 | ||
| profiles | ||
| rtl838x | ||
| rtl839x | ||
| rtl930x | ||
| rtl931x | ||
| Makefile | ||