net/sfc/base: import NVRAM support
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 29 Nov 2016 16:18:58 +0000 (16:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:26 +0000 (19:39 +0100)
commitd96a34d165b1a21b156608f5919e40a021091ad8
tree0c5fd102ecdd9d5656b273cb7d5ef04049bf5c8d
parentc01e77c44d832185795c813be6ddd6e921625be8
net/sfc/base: import NVRAM support

Provide API to work with NIC non-volatile memory. It is used
to update firmware, configure NIC including bootrom parameters,
manage licenses, store PCI Vital Product Data etc.

EFSYS_OPT_NVRAM should be enabled to use it.

From Solarflare Communications Inc.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/sfc/base/ef10_impl.h
drivers/net/sfc/base/ef10_nvram.c [new file with mode: 0644]
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_check.h
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_nvram.c [new file with mode: 0644]
drivers/net/sfc/base/siena_impl.h
drivers/net/sfc/base/siena_nic.c
drivers/net/sfc/base/siena_nvram.c [new file with mode: 0644]