diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2012-11-06 17:48:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-07 21:59:52 (GMT) |
commit | 5c4f2fb9eee1f6c778efbc62efc58535609bca6c (patch) | |
tree | a89219744dda34217a839cb42109e2e72b227045 /drivers/net/ethernet/emulex/benet/be_hw.h | |
parent | ca34fe38f06da0f508543539419ff5faa5d81e1c (diff) | |
download | linux-fsl-qoriq-5c4f2fb9eee1f6c778efbc62efc58535609bca6c.tar.xz |
be2net: do not use sli_family to identify skyhawk-R chip
SKYHAWK_FAMILY will not identify all revisions of the chip.
Use device-id check (skyhawk_chip() macro) instead.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_hw.h')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_hw.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_hw.h b/drivers/net/ethernet/emulex/benet/be_hw.h index 4ccbc36..c257207 100644 --- a/drivers/net/ethernet/emulex/benet/be_hw.h +++ b/drivers/net/ethernet/emulex/benet/be_hw.h @@ -105,11 +105,6 @@ #define SLI_INTF_TYPE_2 2 #define SLI_INTF_TYPE_3 3 -/* SLI family */ -#define BE_SLI_FAMILY 0x0 -#define LANCER_A0_SLI_FAMILY 0xA -#define SKYHAWK_SLI_FAMILY 0x2 - /********* ISR0 Register offset **********/ #define CEV_ISR0_OFFSET 0xC18 #define CEV_ISR_SIZE 4 |