net/sfc/base: simplify EF10 family run-time checks
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 7 Feb 2019 16:29:40 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
commit5661516f2262bf2e53174f93ee911a77b96aa031
tree1c0edafb22c0fb3fb42598bfa7381abecdf620a9
parentdc82cc97eebd9f35be4512f0af49947cc708276c
net/sfc/base: simplify EF10 family run-time checks

Add EFX_FAMILY_IS_EF10() which may be used as synonym of any EF10-based
NIC family (i.e. Huntigton, Medford or Medford2 at the time of addition).

Suggested-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_ev.c
drivers/net/sfc/base/ef10_filter.c
drivers/net/sfc/base/ef10_intr.c
drivers/net/sfc/base/ef10_mac.c
drivers/net/sfc/base/ef10_mcdi.c
drivers/net/sfc/base/ef10_nic.c
drivers/net/sfc/base/ef10_vpd.c
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_sram.c