generic: sync MediaTek Ethernet driver with upstream

Import commits from upstream Linux replacing some downstream patches.
Move accepted patches from pending-{5.15,6.1} to backport-{5.15,6.1}.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit f631c7bbb1)
This commit is contained in:
Daniel Golle
2023-08-26 02:19:18 +01:00
parent 230c09d203
commit 625d19c1e2
63 changed files with 4883 additions and 3036 deletions

View File

@@ -13,7 +13,7 @@ Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -393,6 +393,7 @@ void phylink_get_linkmodes(unsigned long
@@ -398,6 +398,7 @@ void phylink_get_linkmodes(unsigned long
caps |= MAC_1000FD;
break;
@@ -21,7 +21,7 @@ Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
case PHY_INTERFACE_MODE_2500BASEX:
caps |= MAC_2500FD;
break;
@@ -646,6 +647,10 @@ static int phylink_parse_mode(struct phy
@@ -651,6 +652,10 @@ static int phylink_parse_mode(struct phy
phylink_set(pl->supported, 2500baseX_Full);
break;