From: Luis R. Rodriguez Date: Mon, 23 Mar 2009 23:03:27 +0000 (-0400) Subject: ath9k: AR9280 PCI devices must serialize IO as well X-Git-Tag: v2.6.28.10~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b11cd4acc4274a84c6b11500c317d47e7210af6f;p=thirdparty%2Fkernel%2Fstable.git ath9k: AR9280 PCI devices must serialize IO as well This is a port of: commit SHA1 5ec905a8df3fa877566ba98298433fbfb3d688cc for 2.6.28 Signed-off-by: Luis R. Rodriguez --- diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index 82ead1b713ec5..f392aa02ca2d2 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -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 {