net/sfc/base: simplify EF10 family conditional code checks
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 7 Feb 2019 16:29:39 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
commitdc82cc97eebd9f35be4512f0af49947cc708276c
tree1c8c6b1ba2191b5464b0314e844300e73e758175
parentec6080a1ac56c48db7e675fde5322b4646b4b2ae
net/sfc/base: simplify EF10 family conditional code checks

Add EFX_OPTS_EF10() which may be used as synonym of any EF10-based
NIC (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>
26 files changed:
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_nvram.c
drivers/net/sfc/base/ef10_phy.c
drivers/net/sfc/base/ef10_rx.c
drivers/net/sfc/base/ef10_tx.c
drivers/net/sfc/base/ef10_vpd.c
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_bootcfg.c
drivers/net/sfc/base/efx_check.h
drivers/net/sfc/base/efx_ev.c
drivers/net/sfc/base/efx_filter.c
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_intr.c
drivers/net/sfc/base/efx_mac.c
drivers/net/sfc/base/efx_mcdi.c
drivers/net/sfc/base/efx_mcdi.h
drivers/net/sfc/base/efx_nvram.c
drivers/net/sfc/base/efx_phy.c
drivers/net/sfc/base/efx_rx.c
drivers/net/sfc/base/efx_sram.c
drivers/net/sfc/base/efx_vpd.c