Print this page
7154 arn(7D) walks out of bounds when byteswapping the 4K eeprom
7152 weird condition in arn(7D) needs clarification
7153 delete unused code in arn(7D)
7155 arn(7D) should include the mac fields in the eeprom enumeration

@@ -470,11 +470,11 @@
 #define AR5416_EEP4K_PD_GAINS_IN_MASK                   4
 #define AR5416_EEP4K_PD_GAIN_ICEPTS                             5
 #define AR5416_EEP4K_MAX_CHAINS                                 1
 
 enum eeprom_param {
-        EEP_NFTHRESH_5,
+        EEP_NFTHRESH_5 = 0,
         EEP_NFTHRESH_2,
         EEP_MAC_MSW,
         EEP_MAC_MID,
         EEP_MAC_LSW,
         EEP_REG_0,

@@ -492,11 +492,14 @@
         EEP_RXGAIN_TYPE,
         EEP_TXGAIN_TYPE,
         EEP_OL_PWRCTRL,
         EEP_RC_CHAIN_MASK,
         EEP_DAC_HPWR_5G,
-        EEP_FRAC_N_5G
+        EEP_FRAC_N_5G,
+        EEP_MAC_0 = AR_EEPROM_MAC(0),
+        EEP_MAC_1 = AR_EEPROM_MAC(1),
+        EEP_MAC_2 = AR_EEPROM_MAC(2)
 };
 
 enum ar5416_rates {
         rate6mb, rate9mb, rate12mb, rate18mb,
         rate24mb, rate36mb, rate48mb, rate54mb,