i40e/i40evf: Save WR_CSR_PROT field from DEV/FUNC capabilities
authorKevin Scott <kevin.c.scott@intel.com>
Tue, 7 Apr 2015 23:45:38 +0000 (19:45 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Apr 2015 03:25:45 +0000 (20:25 -0700)
commit73b23402bb232ce655cf45aaca4f7feee317deb1
tree12310c6d21679fc58c218a7189b95fc4cf5ff5fc
parent3169c323cf9dc3b00b0a6a3d434968832daa4147
i40e/i40evf: Save WR_CSR_PROT field from DEV/FUNC capabilities

Store the 8 bytes of the WR_CSR_PROT field returned as part of the get
device/function capabilities AQ command.

Change-ID: Ifcaeea2ff29885fa769e4f384c7db88a25e8afd0
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_type.h
drivers/net/ethernet/intel/i40evf/i40e_type.h