kernel: bump 4.14 to 4.14.223
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.14 / 404-net-mvneta-hack-fix-phy_interface.patch
1 From acdfcc7ef78c46baca1439a1cac5b73008abc672 Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@armlinux.org.uk>
3 Date: Tue, 16 May 2017 11:55:58 +0100
4 Subject: net: mvneta: hack fix phy_interface
5
6 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
7 ---
8 drivers/net/ethernet/marvell/mvneta.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11 --- a/drivers/net/ethernet/marvell/mvneta.c
12 +++ b/drivers/net/ethernet/marvell/mvneta.c
13 @@ -427,6 +427,7 @@ struct mvneta_port {
14 u16 tx_ring_size;
15 u16 rx_ring_size;
16
17 + phy_interface_t phy_interface;
18 struct device_node *dn;
19 unsigned int tx_csum_limit;
20 struct phylink *phylink;
21 @@ -4321,6 +4322,7 @@ static int mvneta_probe(struct platform_
22
23 pp = netdev_priv(dev);
24 spin_lock_init(&pp->lock);
25 + pp->phy_interface = phy_mode;
26 pp->dn = dn;
27
28 pp->rxq_def = rxq_def;