ath9k: AR9280 PCI devices must serialize IO as well
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 12 Mar 2009 22:18:50 +0000 (18:18 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:01:58 +0000 (18:01 -0400)
Cc: stable@kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/hw.c

index 5c870436fc5f85a5879445a663788bdefd06d367..c38a00bbce64664caa1042be4ee37da97e1f6c46 100644 (file)
@@ -687,7 +687,8 @@ static struct ath_hal *ath9k_hw_do_attach(u16 devid, struct ath_softc *sc,
        }
 
        if (ah->ah_config.serialize_regmode == SER_REG_MODE_AUTO) {
-               if (ah->ah_macVersion == AR_SREV_VERSION_5416_PCI) {
+               if (ah->ah_macVersion == AR_SREV_VERSION_5416_PCI ||
+                   (AR_SREV_9280(ah) && !ah->ah_isPciExpress)) {
                        ah->ah_config.serialize_regmode =
                                SER_REG_MODE_ON;
                } else {