source: trunk/package/mac80211/patches/554-ath9k-enable-TX-RX-data-byte-swap-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: 425 bytes
  • drivers/net/wireless/ath/ath9k/hw.c

    a b int ath9k_hw_reset(struct ath_hw *ah, st 
    16021602                                REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); 
    16031603                } 
    16041604#ifdef __BIG_ENDIAN 
    1605                 else if (AR_SREV_9340(ah)) 
     1605                else if (AR_SREV_9330(ah) || AR_SREV_9340(ah)) 
    16061606                        REG_RMW(ah, AR_CFG, AR_CFG_SWRB | AR_CFG_SWTB, 0); 
    16071607                else 
    16081608                        REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); 
Note: See TracBrowser for help on using the repository browser.