if_iwm - Sync nvm parsing code with Linux iwlwifi.
[dragonfly.git] / sys / dev / netif / iwm / if_iwmreg.h
index 0a6fb5c..9d0b606 100644 (file)
@@ -1979,18 +1979,13 @@ enum {
 
 /* Section types for IWM_NVM_ACCESS_CMD */
 enum {
-       IWM_NVM_SECTION_TYPE_HW = 0,
-       IWM_NVM_SECTION_TYPE_SW,
-       IWM_NVM_SECTION_TYPE_PAPD,
-       IWM_NVM_SECTION_TYPE_REGULATORY,
-       IWM_NVM_SECTION_TYPE_CALIBRATION,
-       IWM_NVM_SECTION_TYPE_PRODUCTION,
-       IWM_NVM_SECTION_TYPE_POST_FCS_CALIB,
-       /* 7, 8, 9 unknown */
-       IWM_NVM_SECTION_TYPE_HW_8000 = 10,
-       IWM_NVM_SECTION_TYPE_MAC_OVERRIDE,
-       IWM_NVM_SECTION_TYPE_PHY_SKU,
-       IWM_NVM_NUM_OF_SECTIONS,
+       IWM_NVM_SECTION_TYPE_SW = 1,
+       IWM_NVM_SECTION_TYPE_REGULATORY = 3,
+       IWM_NVM_SECTION_TYPE_CALIBRATION = 4,
+       IWM_NVM_SECTION_TYPE_PRODUCTION = 5,
+       IWM_NVM_SECTION_TYPE_MAC_OVERRIDE = 11,
+       IWM_NVM_SECTION_TYPE_PHY_SKU = 12,
+       IWM_NVM_MAX_NUM_SECTIONS = 13,
 };
 
 /**