net/sfc/base: import VPD support
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 29 Nov 2016 16:18:59 +0000 (16:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:26 +0000 (19:39 +0100)
commit946ba3b6941a35fc8b324a3a9b541a0e6bd91105
tree6803939f778b7c3f2781a272b59106b8ed17a293
parentd96a34d165b1a21b156608f5919e40a021091ad8
net/sfc/base: import VPD support

Provide API to read/write PCI Vital Product Data.

EFSYS_OPT_VPD 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_vpd.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_vpd.c [new file with mode: 0644]
drivers/net/sfc/base/siena_impl.h
drivers/net/sfc/base/siena_vpd.c [new file with mode: 0644]