diff options
author | Steve Hodgson <shodgson@solarflare.com> | 2010-02-03 04:30:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-03 22:12:44 -0500 |
commit | 7a6b8f6f7f74085a1330b0f9765d81bcea8c58b7 (patch) | |
tree | 6358e7e8d94d3475c864c114188df2c6eb4a98ff /drivers/net/sfc/falcon.c | |
parent | 8b2103add08b79abd3ac7015b4bac744c0af534e (diff) |
sfc: Enable autonegotiated flow-control by default if supported
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r-- | drivers/net/sfc/falcon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index 9d009c46e962..1e7858511e35 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c | |||
@@ -909,6 +909,8 @@ static int falcon_probe_port(struct efx_nic *efx) | |||
909 | efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; | 909 | efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; |
910 | else | 910 | else |
911 | efx->wanted_fc = EFX_FC_RX; | 911 | efx->wanted_fc = EFX_FC_RX; |
912 | if (efx->mdio.mmds & MDIO_DEVS_AN) | ||
913 | efx->wanted_fc |= EFX_FC_AUTO; | ||
912 | 914 | ||
913 | /* Allocate buffer for stats */ | 915 | /* Allocate buffer for stats */ |
914 | rc = efx_nic_alloc_buffer(efx, &efx->stats_buffer, | 916 | rc = efx_nic_alloc_buffer(efx, &efx->stats_buffer, |