iwlwifi: pcie: Enable MSI mode when using MSI interrupts
authorIdo Yariv <ido@wizery.com>
Tue, 14 Jun 2016 14:27:57 +0000 (10:27 -0400)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 6 Jul 2016 06:39:16 +0000 (09:39 +0300)
commit54f315cb082bf98290575e858d1e0274bb0eebe0
tree95f5f102f3997c010e31d03719b174786e14dc5b
parentda2830acf15aab9cb2c376b74463d6d6ecc18716
iwlwifi: pcie: Enable MSI mode when using MSI interrupts

On some of the chipsets MSI & INTA interrupts are disabled by default in
the HW registers, and need to be explicitly enabled to be used.

In case MSI-X isn't used, make sure MSI mode is enabled by setting
the relevant HW register.

Signed-off-by: Ido Yariv <idox.yariv@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-prph.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c