[PATCH v2 1/2] kernel: backport MediaTek Ethernet PHY driver
Hauke Mehrtens
hauke at hauke-m.de
Sun Feb 6 15:49:47 PST 2022
On 2/6/22 06:45, DENG Qingfang wrote:
> Add support for MediaTek Gigabit Ethernet PHYs found in MT7530.
> Fix some link instability issues.
>
> Signed-off-by: DENG Qingfang <dqfext at gmail.com>
> ---
> v2: removed interface mode check, should work for MT7531.
>
> ...MediaTek-Gigabit-Ethernet-PHY-driver.patch | 159 ++++++++++++++++++
> target/linux/generic/config-5.10 | 1 +
> target/linux/mediatek/mt7622/config-5.10 | 1 +
> target/linux/mediatek/mt7623/config-5.10 | 1 +
> target/linux/ramips/mt7621/config-5.10 | 1 +
> 5 files changed, 163 insertions(+)
> create mode 100644 target/linux/generic/backport-5.10/771-v5.14-net-phy-add-MediaTek-Gigabit-Ethernet-PHY-driver.patch
>
.....
> ++static int mt7531_phy_config_init(struct phy_device *phydev)
> ++{
> ++ mtk_gephy_config_init(phydev);
I would prefer if you keep the original patch here and add an additional
patch fixing this problem. Patches in the backport-5.10 folder should
closely match what is in the upstream kernel. The fix will be a separate
commit in upstream Linux.
Hauke
More information about the openwrt-devel
mailing list