ath9k: AR9280 PCI devices must serialize IO as well
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 23 Mar 2009 23:03:27 +0000 (19:03 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:57:15 +0000 (10:57 -0700)
This is a port of:
commit SHA1 5ec905a8df3fa877566ba98298433fbfb3d688cc
for 2.6.28

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
drivers/net/wireless/ath9k/hw.c

index 82ead1b713ec5224fef2e8691fec9cdd656371ad..f392aa02ca2d287bb25cbdf5061c3fc730bdca53 100644 (file)
@@ -3311,7 +3311,8 @@ static struct ath_hal *ath9k_hw_do_attach(u16 devid,
        }
 
        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 {