mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-13 15:56:55 +00:00
Refreshed all patches. Removed upstreamed: - 203-MIPS-ath79-fix-restart.patch - 330-Revert-MIPS-BCM47XX-Enable-74K-Core-ExternalSync-for.patch - 051-0001-ovl-rename-is_merge-to-is_lowest.patch - 051-0002-ovl-override-creds-with-the-ones-from-the-superblock.patch - 051-0005-ovl-proper-cleanup-of-workdir.patch Altered patches: - 201-extra_optimization.patch - 304-mips_disable_fpu.patch Compile-tested on: ar71xx, cns3xxx, imx6, mpc85xx Runtime-tested on: ar71xx, cns3xxx, imx6, mpc85xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 62f8a12044265df11531750a240e516a5f1ff433 Mon Sep 17 00:00:00 2001
|
|
From: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
Date: Thu, 1 Oct 2015 00:34:08 +0100
|
|
Subject: [PATCH 728/744] net: mvneta: enable flow control for PHY connections
|
|
|
|
Enable flow control support for PHY connections by indicating our
|
|
support via the ethtool capabilities. phylink takes care of the
|
|
appropriate handling.
|
|
|
|
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
---
|
|
drivers/net/ethernet/marvell/mvneta.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/net/ethernet/marvell/mvneta.c
|
|
+++ b/drivers/net/ethernet/marvell/mvneta.c
|
|
@@ -3127,12 +3127,14 @@ static int mvneta_mac_support(struct net
|
|
state->supported = PHY_10BT_FEATURES |
|
|
PHY_100BT_FEATURES |
|
|
SUPPORTED_1000baseT_Full |
|
|
+ SUPPORTED_Pause |
|
|
SUPPORTED_Autoneg;
|
|
state->advertising = ADVERTISED_10baseT_Half |
|
|
ADVERTISED_10baseT_Full |
|
|
ADVERTISED_100baseT_Half |
|
|
ADVERTISED_100baseT_Full |
|
|
ADVERTISED_1000baseT_Full |
|
|
+ ADVERTISED_Pause |
|
|
ADVERTISED_Autoneg;
|
|
state->an_enabled = 1;
|
|
break;
|