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/selftest.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/selftest.c')
-rw-r--r-- | drivers/net/sfc/selftest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c index 15806078971b..74e84afd5b6b 100644 --- a/drivers/net/sfc/selftest.c +++ b/drivers/net/sfc/selftest.c | |||
@@ -125,7 +125,7 @@ static int efx_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) | |||
125 | int rc; | 125 | int rc; |
126 | 126 | ||
127 | /* Not supported on A-series silicon */ | 127 | /* Not supported on A-series silicon */ |
128 | if (falcon_rev(efx) < FALCON_REV_B0) | 128 | if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) |
129 | return 0; | 129 | return 0; |
130 | 130 | ||
131 | rc = falcon_test_registers(efx); | 131 | rc = falcon_test_registers(efx); |