]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/nvm_cfg.h
net/qede/base: fix find zero bit macro
[dpdk.git] / drivers / net / qede / base / nvm_cfg.h
index 420233728e975fe0d455f281b2ef67b2be5bd92f..4e588350e2f2a19f42895883b80c42f0571a1f77 100644 (file)
@@ -72,10 +72,12 @@ struct nvm_cfg1_glob {
                #define NVM_CFG1_GLOB_ENABLE_ATC_OFFSET 30
                #define NVM_CFG1_GLOB_ENABLE_ATC_DISABLED 0x0
                #define NVM_CFG1_GLOB_ENABLE_ATC_ENABLED 0x1
-               #define NVM_CFG1_GLOB_CLOCK_SLOWDOWN_MASK 0x80000000
-               #define NVM_CFG1_GLOB_CLOCK_SLOWDOWN_OFFSET 31
-               #define NVM_CFG1_GLOB_CLOCK_SLOWDOWN_DISABLED 0x0
-               #define NVM_CFG1_GLOB_CLOCK_SLOWDOWN_ENABLED 0x1
+               #define NVM_CFG1_GLOB_RESERVED__M_WAS_CLOCK_SLOWDOWN_MASK \
+                                                               0x80000000
+               #define NVM_CFG1_GLOB_RESERVED__M_WAS_CLOCK_SLOWDOWN_OFFSET 31
+               #define NVM_CFG1_GLOB_RESERVED__M_WAS_CLOCK_SLOWDOWN_DISABLED \
+                                                               0x0
+               #define NVM_CFG1_GLOB_RESERVED__M_WAS_CLOCK_SLOWDOWN_ENABLED 0x1
        u32 engineering_change[3]; /* 0x4 */
        u32 manufacturing_id; /* 0x10 */
        u32 serial_number[4]; /* 0x14 */