tools: mkimage: provide dtc path during build
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.9 / 434-phy-marvell-88E1540-add-flow-control-support.patch
1 From: Russell King <rmk+kernel@armlinux.org.uk>
2 Date: Tue, 12 Jul 2016 16:45:43 +0100
3 Subject: [PATCH] phy: marvell: 88E1540: add flow control support
4
5 The Marvell PHYs support pause frame advertisments, so we should not be
6 masking their support off. Add the necessary flag to the Marvell PHY
7 to allow any MAC level pause frame support to be advertised.
8
9 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
10 ---
11
12 --- a/drivers/net/phy/marvell.c
13 +++ b/drivers/net/phy/marvell.c
14 @@ -1698,7 +1698,7 @@ static struct phy_driver marvell_drivers
15 .phy_id = MARVELL_PHY_ID_88E1540,
16 .phy_id_mask = MARVELL_PHY_ID_MASK,
17 .name = "Marvell 88E1540",
18 - .features = PHY_GBIT_FEATURES,
19 + .features = PHY_GBIT_FEATURES | SUPPORTED_Pause,
20 .flags = PHY_HAS_INTERRUPT,
21 .probe = marvell_probe,
22 .config_init = &marvell_config_init,