ramips: port 0034-NET-multi-phy-support.patch to 5.4
authorChuanhong Guo <gch981213@gmail.com>
Thu, 9 Apr 2020 07:50:21 +0000 (15:50 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 12 Apr 2020 14:27:18 +0000 (22:27 +0800)
commit6fcba5eec3bb02ac32ff40db3be8ef450e30fe50
treea5bd6693e731ba8485ae017292be4fe0eb3cb399
parent05dee5833a5f2d3d182dfa6de86b3e6b237940e3
ramips: port 0034-NET-multi-phy-support.patch to 5.4

This hack is needed for old ethernet driver:
On mt7620, we have two exposed RGMII ports that connects to builtin
switch. However, swconfig has no way to interact with phy subsystem.
As a result, we have to register both PHYs to ethernet mac instead
and this patch prevents main ethernet interface from going down due
to phy link changes.
Also rename the patch for its actual purpose.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/patches-5.4/990-NET-no-auto-carrier-off-support.patch [new file with mode: 0644]