forked from mirror/openwrt
The mdio driver currently initializes the phy polling registers with some nasty magic. It identifies the interface mode from the dts and draws some strange conclusions. Looking at the SDK one can see that this is basically dependent of the attached phy type. So the code location is quite right inside the mdio driver. Provide a new get_phy_info() function that determines the phy characteristics that are important for the polling unit . It will be later needed by the RTL93xx setup code. Some explanation about the fields of the structure: - has_res_reg: phy has a special Realtek resolution polling register. It is unclear if this gives more details or if it simply allows faster polling. - has_giga_lite: This is a phy that allows for Realtek proprietary 1G/2.5G lite connectivity. In this case data is only transmitted over two wire pairs. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/21469 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> |
||
|---|---|---|
| .. | ||
| imagebuilder | ||
| linux | ||
| llvm-bpf | ||
| sdk | ||
| toolchain | ||
| Config.in | ||
| Makefile | ||