Repository navigation
ramips: mt7620: build Realtek PHY driver into kernel - #22496
DragonBluep wants to merge 2 commits into
Conversation
The MT7620 ethernet driver attempts to connect the PHY before kmods are loaded. Hence the kmod PHY driver package can not work on this sub-target. Build the PHY driver into the kernel to fix the Realtek PHY probe issue. Signed-off-by: Shiji Yang <[email protected]>
The Realtek driver has been built into the kernel. Signed-off-by: Shiji Yang <[email protected]>
|
What about the fact that not all MT7620 routers needed kmod-phy-realtek? After this change, all will include it. Isn't this an unnecessary use of flash memory? |
But without this change, the realtek phy doesn't work correctly. |
|
Maybe |
The dilemma here is that Ethernet driver expect to attach phy earlier.
|
|
What about CONFIG_REALTEK_PHY_HWMON ? |
It's useless on this target. I remember the legacy Giga PHY doesn't support temperature report. |
|
After this operation, initramfs-kernel.bin grows 3KBytes. It's not much, but devices with MT7620 usually have little free memory. |
Is |
|
Is the generic PHY driver used instead of the Realtek PHY driver when it is not compiled into the kernel? If so please mention this in the commit message. What problems do people have with this being compiled as a module? The driver itself is pretty small and has more or less no extra dependencies: |
No description provided.