aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon_xmac.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-28 05:36:04 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-28 23:58:54 -0800
commitdaeda6309e1382819a8f8bab548560742ac26cc2 (patch)
tree164dbcb3c1e96662c7efbe4b22a39630de9ede3c /drivers/net/sfc/falcon_xmac.c
parentsfc: Remove some redundant whitespace (diff)
downloadlinux-dev-daeda6309e1382819a8f8bab548560742ac26cc2.tar.xz
linux-dev-daeda6309e1382819a8f8bab548560742ac26cc2.zip
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/falcon_xmac.c')
-rw-r--r--drivers/net/sfc/falcon_xmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon_xmac.c b/drivers/net/sfc/falcon_xmac.c
index 784260f63d4c..1523efdcefe6 100644
--- a/drivers/net/sfc/falcon_xmac.c
+++ b/drivers/net/sfc/falcon_xmac.c
@@ -89,7 +89,7 @@ static void falcon_mask_status_intr(struct efx_nic *efx, bool enable)
{
efx_oword_t reg;
- if ((falcon_rev(efx) != FALCON_REV_B0) || LOOPBACK_INTERNAL(efx))
+ if ((efx_nic_rev(efx) != EFX_REV_FALCON_B0) || LOOPBACK_INTERNAL(efx))
return;
/* We expect xgmii faults if the wireside link is up */