source: trunk/package/mac80211/patches/557-ath9k-use-correct-EEPROM-base-for-AR9330.patch @ 27187

Last change on this file since 27187 was 27187, checked in by hauke, 5 years ago

package/mac80211: Add linux 3.0 compatibility

Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File size: 383 bytes
  • drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

    a b static int ar9300_eeprom_restore_interna 
    33243324        read = ar9300_read_eeprom; 
    33253325        if (AR_SREV_9485(ah)) 
    33263326                cptr = AR9300_BASE_ADDR_4K; 
     3327        else if (AR_SREV_9330(ah)) 
     3328                cptr = AR9300_BASE_ADDR_512; 
    33273329        else 
    33283330                cptr = AR9300_BASE_ADDR; 
    33293331        ath_dbg(common, ATH_DBG_EEPROM, 
Note: See TracBrowser for help on using the repository browser.