kernel: bump kernel 4.4 to 4.4.129 for 17.01
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.4 / 126-phy-marvell-88E1512-add-flow-control-support.patch
1 From 5eed0bf3bc3e69b20a13d8ffcdf97cb720391637 Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@arm.linux.org.uk>
3 Date: Thu, 1 Oct 2015 00:34:08 +0100
4 Subject: [PATCH 735/744] phy: marvell: 88E1512: add flow control support
5
6 The Marvell PHYs support pause frame advertisments, so we should not be
7 masking their support off. Add the necessary flag to the Marvell PHY
8 to allow any MAC level pause frame support to be advertised.
9
10 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
11 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 ---
13 drivers/net/phy/marvell.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/drivers/net/phy/marvell.c
17 +++ b/drivers/net/phy/marvell.c
18 @@ -1148,7 +1148,7 @@ static struct phy_driver marvell_drivers
19 .phy_id = MARVELL_PHY_ID_88E1510,
20 .phy_id_mask = MARVELL_PHY_ID_MASK,
21 .name = "Marvell 88E1510",
22 - .features = PHY_GBIT_FEATURES,
23 + .features = PHY_GBIT_FEATURES | SUPPORTED_Pause,
24 .flags = PHY_HAS_INTERRUPT,
25 .config_aneg = &m88e1510_config_aneg,
26 .read_status = &marvell_read_status,