diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 00:36:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 02:58:54 -0500 |
commit | daeda6309e1382819a8f8bab548560742ac26cc2 (patch) | |
tree | 164dbcb3c1e96662c7efbe4b22a39630de9ede3c /drivers/net/sfc/ethtool.c | |
parent | 299f8d69f3590fdbd7b22880234196de3b39ceca (diff) |
sfc: Decouple NIC revision number from Falcon PCI revision number
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 6515b8a4b38b..5d2e186e6710 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -683,7 +683,7 @@ static int efx_ethtool_set_pauseparam(struct net_device *net_dev, | |||
683 | * and fix it be cycling transmit flow control on this end. */ | 683 | * and fix it be cycling transmit flow control on this end. */ |
684 | reset = (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX); | 684 | reset = (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX); |
685 | if (EFX_WORKAROUND_11482(efx) && reset) { | 685 | if (EFX_WORKAROUND_11482(efx) && reset) { |
686 | if (falcon_rev(efx) == FALCON_REV_B0) { | 686 | if (efx_nic_rev(efx) == EFX_REV_FALCON_B0) { |
687 | /* Recover by resetting the EM block */ | 687 | /* Recover by resetting the EM block */ |
688 | if (efx->link_state.up) | 688 | if (efx->link_state.up) |
689 | falcon_drain_tx_fifo(efx); | 689 | falcon_drain_tx_fifo(efx); |