net/sfc/base: add routine to check for hardware presence
authorAndy Moreton <amoreton@solarflare.com>
Mon, 10 Sep 2018 09:33:23 +0000 (10:33 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commit2cfbf251052fc5467945e7bd95269f82e98069f3
tree298711253e934f860072e59a997d37dc63f9bc8c
parented42d18458cbdceb28f006fda9967141a7e79b92
net/sfc/base: add routine to check for hardware presence

Add efx_nic_hw_unavailable() routine to check for hardware presence
before continuing with NIC operations.

Signed-off-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_impl.h
drivers/net/sfc/base/ef10_nic.c
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_mcdi.c
drivers/net/sfc/base/efx_nic.c