ath9k: add MSI support
authorRussell Hu <rhu@qti.qualcomm.com>
Tue, 16 Jan 2018 09:43:47 +0000 (11:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 16 Jan 2018 14:29:22 +0000 (16:29 +0200)
commit7368160f0ab0b1c2c9d95fc52dca1e7ec62201a4
tree671fa35decb0394d7d4aaf104572791ed5595b40
parent79d891c1bbb6573cef31dbc2030fba61cfa1df6d
ath9k: add MSI support

On new Intel platforms like ApolloLake, legacy interrupt mechanism
(INTx) is not supported, so WLAN modules are not working because
interrupts are missing, therefore this patch is to add MSI support to
ath9k.  With module paremeter "use_msi=1", ath9k driver would try to
use MSI instead of INTx.

Signed-off-by: Russell Hu <rhu@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/pci.c
drivers/net/wireless/ath/ath9k/reg.h