be2net: do not use sli_family to identify skyhawk-R chip
authorSathya Perla <sathya.perla@emulex.com>
Tue, 6 Nov 2012 17:48:57 +0000 (17:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 21:59:52 +0000 (16:59 -0500)
commit5c4f2fb9eee1f6c778efbc62efc58535609bca6c
treea89219744dda34217a839cb42109e2e72b227045
parentca34fe38f06da0f508543539419ff5faa5d81e1c
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>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_hw.h
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/emulex/benet/be_roce.c