mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 00:46:39 +07:00
ath9k: enable serialize_regmode for non-PCIE AR9287
https://bugzilla.kernel.org/show_bug.cgi?id=42903 Based on the work of <fynivx@gmail.com> Signed-off-by: Panayiotis Karabassis <panayk@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
f63d7dabd5
commit
7508b65796
@ -622,7 +622,7 @@ static int __ath9k_hw_init(struct ath_hw *ah)
|
|||||||
|
|
||||||
if (NR_CPUS > 1 && ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
|
if (NR_CPUS > 1 && ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
|
||||||
if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI ||
|
if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI ||
|
||||||
((AR_SREV_9160(ah) || AR_SREV_9280(ah)) &&
|
((AR_SREV_9160(ah) || AR_SREV_9280(ah) || AR_SREV_9287(ah)) &&
|
||||||
!ah->is_pciexpress)) {
|
!ah->is_pciexpress)) {
|
||||||
ah->config.serialize_regmode =
|
ah->config.serialize_regmode =
|
||||||
SER_REG_MODE_ON;
|
SER_REG_MODE_ON;
|
||||||
|
Loading…
Reference in New Issue
Block a user