diff options
author | Lev Faerman <lev.faerman@intel.com> | 2018-10-26 13:41:05 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-11-13 12:09:26 -0500 |
commit | 6263e811f4d4418660c20b36a08063c6d2c3fb9d (patch) | |
tree | a1a974c75e3ddb0f196428924afcf27fd483b734 /drivers | |
parent | d09e2693b689cc82cd9bae0c4f19f5122708f83e (diff) |
ice: Fix NVM mask defines
Fixes bad masks that would break compilation when evaluated.
Signed-off-by: Lev Faerman <lev.faerman@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h b/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h index 602f02a0a2d1..4078070881ce 100644 --- a/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h +++ b/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | |||
@@ -1066,10 +1066,10 @@ struct ice_aqc_nvm { | |||
1066 | #define ICE_AQC_NVM_LAST_CMD BIT(0) | 1066 | #define ICE_AQC_NVM_LAST_CMD BIT(0) |
1067 | #define ICE_AQC_NVM_PCIR_REQ BIT(0) /* Used by NVM Update reply */ | 1067 | #define ICE_AQC_NVM_PCIR_REQ BIT(0) /* Used by NVM Update reply */ |
1068 | #define ICE_AQC_NVM_PRESERVATION_S 1 | 1068 | #define ICE_AQC_NVM_PRESERVATION_S 1 |
1069 | #define ICE_AQC_NVM_PRESERVATION_M (3 << CSR_AQ_NVM_PRESERVATION_S) | 1069 | #define ICE_AQC_NVM_PRESERVATION_M (3 << ICE_AQC_NVM_PRESERVATION_S) |
1070 | #define ICE_AQC_NVM_NO_PRESERVATION (0 << CSR_AQ_NVM_PRESERVATION_S) | 1070 | #define ICE_AQC_NVM_NO_PRESERVATION (0 << ICE_AQC_NVM_PRESERVATION_S) |
1071 | #define ICE_AQC_NVM_PRESERVE_ALL BIT(1) | 1071 | #define ICE_AQC_NVM_PRESERVE_ALL BIT(1) |
1072 | #define ICE_AQC_NVM_PRESERVE_SELECTED (3 << CSR_AQ_NVM_PRESERVATION_S) | 1072 | #define ICE_AQC_NVM_PRESERVE_SELECTED (3 << ICE_AQC_NVM_PRESERVATION_S) |
1073 | #define ICE_AQC_NVM_FLASH_ONLY BIT(7) | 1073 | #define ICE_AQC_NVM_FLASH_ONLY BIT(7) |
1074 | __le16 module_typeid; | 1074 | __le16 module_typeid; |
1075 | __le16 length; | 1075 | __le16 length; |