kernel: bump 5.4 to 5.4.153
[openwrt/staging/chunkeey.git] / target / linux / layerscape / patches-5.4 / 701-net-0325-net-phy-add-10G-fixed-link-support.patch
1 From c8d3576df41025b341eb767168914990598a0caa Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Tue, 22 Aug 2017 18:35:11 +0300
4 Subject: [PATCH] net: phy: add 10G fixed-link support
5
6 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
7 ---
8 drivers/net/phy/swphy.c | 1 +
9 1 file changed, 1 insertion(+)
10
11 --- a/drivers/net/phy/swphy.c
12 +++ b/drivers/net/phy/swphy.c
13 @@ -71,6 +71,7 @@ static const struct swmii_regs duplex[]
14 static int swphy_decode_speed(int speed)
15 {
16 switch (speed) {
17 + case 10000:
18 case 1000:
19 return SWMII_SPEED_1000;
20 case 100: