diff options
Diffstat (limited to 'target/linux/layerscape/patches-5.4/701-net-0325-net-phy-add-10G-fixed-link-support.patch')
-rw-r--r-- | target/linux/layerscape/patches-5.4/701-net-0325-net-phy-add-10G-fixed-link-support.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/layerscape/patches-5.4/701-net-0325-net-phy-add-10G-fixed-link-support.patch b/target/linux/layerscape/patches-5.4/701-net-0325-net-phy-add-10G-fixed-link-support.patch new file mode 100644 index 0000000000..a227baf1f5 --- /dev/null +++ b/target/linux/layerscape/patches-5.4/701-net-0325-net-phy-add-10G-fixed-link-support.patch @@ -0,0 +1,20 @@ +From c8d3576df41025b341eb767168914990598a0caa Mon Sep 17 00:00:00 2001 +From: Camelia Groza <camelia.groza@nxp.com> +Date: Tue, 22 Aug 2017 18:35:11 +0300 +Subject: [PATCH] net: phy: add 10G fixed-link support + +Signed-off-by: Camelia Groza <camelia.groza@nxp.com> +--- + drivers/net/phy/swphy.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/net/phy/swphy.c ++++ b/drivers/net/phy/swphy.c +@@ -71,6 +71,7 @@ static const struct swmii_regs duplex[] + static int swphy_decode_speed(int speed) + { + switch (speed) { ++ case 10000: + case 1000: + return SWMII_SPEED_1000; + case 100: |