net/sfc/base: check NVRAM locking by partition ID
authorAndy Moreton <amoreton@solarflare.com>
Thu, 16 Nov 2017 08:03:57 +0000 (08:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitf4332a5f486905cfd9547e90ea27fe410fa8dc33
treec896a1c6ee1996c34d4eb6085c40e437155fae8c
parent90f8fc7b9d233993baa356bd952188ccb6f3b7cc
net/sfc/base: check NVRAM locking by partition ID

Tracking which partition is locked avoids being overly conservative
when EFX_NVRAM_xxx maps to more than one partition (depnding on the
current port number).

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_nvram.c