aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-10-22 21:31:39 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-22 21:36:15 -0400
commit188586b28deda2dd4888a306cb6202cc6f408103 (patch)
tree8fda556e667c4c34c9bafc48deae4974d4947c91 /drivers
parenta3d1289126e7b14307074b76bf1677015ea5036f (diff)
sfc: 10Xpress: Report support for pause frames
Commits 27fbc7d 'mdio: Expose pause frame advertising flags to ethtool' and c634263 'sfc: 10Xpress: Initialise pause advertising flags' added to our reported advertising flags. efx_mdio_set_settings() requires that all advertising flags are also present in the supported flags, so make sure that is true. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/sfc/tenxpress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sfc/tenxpress.c b/drivers/net/sfc/tenxpress.c
index 1a3495c676c0..352cc560ed4c 100644
--- a/drivers/net/sfc/tenxpress.c
+++ b/drivers/net/sfc/tenxpress.c
@@ -752,6 +752,7 @@ tenxpress_get_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd)
752 752
753 mdio45_ethtool_gset_npage(&efx->mdio, ecmd, adv, lpa); 753 mdio45_ethtool_gset_npage(&efx->mdio, ecmd, adv, lpa);
754 754
755 ecmd->supported |= SUPPORTED_Pause | SUPPORTED_Asym_Pause;
755 if (efx->phy_type != PHY_TYPE_SFX7101) { 756 if (efx->phy_type != PHY_TYPE_SFX7101) {
756 ecmd->supported |= (SUPPORTED_100baseT_Full | 757 ecmd->supported |= (SUPPORTED_100baseT_Full |
757 SUPPORTED_1000baseT_Full); 758 SUPPORTED_1000baseT_Full);