i40e/i40evf: grab NVM devstarter version not image version
0x2A is the NVM version so it has useful data but it is per image version every image can have a different one. 0x18 is the dev starter version which all the images for release will have the same version. Of the two 0x18 is more useful and is what should be displayed. Change-ID: Idf493da13a42ab211e2de0bef287f5de51033cca Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
7589f65b32
commit
4f651a5b0a
@@ -1116,7 +1116,7 @@ struct i40e_hw_port_stats {
|
||||
/* Checksum and Shadow RAM pointers */
|
||||
#define I40E_SR_NVM_CONTROL_WORD 0x00
|
||||
#define I40E_SR_EMP_MODULE_PTR 0x0F
|
||||
#define I40E_SR_NVM_IMAGE_VERSION 0x18
|
||||
#define I40E_SR_NVM_DEV_STARTER_VERSION 0x18
|
||||
#define I40E_SR_NVM_WAKE_ON_LAN 0x19
|
||||
#define I40E_SR_ALTERNATE_SAN_MAC_ADDRESS_PTR 0x27
|
||||
#define I40E_SR_NVM_EETRACK_LO 0x2D
|
||||
|
Reference in New Issue
Block a user