From: Luis R. Rodriguez Date: Thu, 12 Mar 2009 22:18:50 +0000 (-0400) Subject: ath9k: AR9280 PCI devices must serialize IO as well X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ec905a8df3fa877566ba98298433fbfb3d688cc;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ath9k: AR9280 PCI devices must serialize IO as well Cc: stable@kernel.org Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index 5c870436fc5..c38a00bbce6 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -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 {