tools: mkimage: provide dtc path during build
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.4 / 140-net-mvneta-enable-flow-control-for-PHY-connections.patch
1 From 62f8a12044265df11531750a240e516a5f1ff433 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 728/744] net: mvneta: enable flow control for PHY connections
5
6 Enable flow control support for PHY connections by indicating our
7 support via the ethtool capabilities. phylink takes care of the
8 appropriate handling.
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/ethernet/marvell/mvneta.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16 --- a/drivers/net/ethernet/marvell/mvneta.c
17 +++ b/drivers/net/ethernet/marvell/mvneta.c
18 @@ -3127,12 +3127,14 @@ static int mvneta_mac_support(struct net
19 state->supported = PHY_10BT_FEATURES |
20 PHY_100BT_FEATURES |
21 SUPPORTED_1000baseT_Full |
22 + SUPPORTED_Pause |
23 SUPPORTED_Autoneg;
24 state->advertising = ADVERTISED_10baseT_Half |
25 ADVERTISED_10baseT_Full |
26 ADVERTISED_100baseT_Half |
27 ADVERTISED_100baseT_Full |
28 ADVERTISED_1000baseT_Full |
29 + ADVERTISED_Pause |
30 ADVERTISED_Autoneg;
31 state->an_enabled = 1;
32 break;