]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/net/wireless/realtek/rtlwifi/pci.c
rtlwifi: add MSI interrupts mode support
authorAdam Lee <adam.lee@canonical.com>
Fri, 28 Mar 2014 03:36:18 +0000 (11:36 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Mar 2014 17:47:41 +0000 (13:47 -0400)
commit94010fa0dd07e8b904e7c6b6589f15573008ab15
treed26c0bd3391c7b1dec8f371f4901c681eaf8ab4a
parent52250cbee7f62400140295a632e0ffbbe5b083ca
rtlwifi: add MSI interrupts mode support

Add MSI interrupts mode support, enable it when submodules' msi_support
flag is true, also could fallback to pin-based interrupts mode if MSI
interrupts mode fails.

RealTek's policy(on modules which work well with MSI interrupts mode) is:

> If the platform supports both MSI and pin-based, use MSI.
> If the platform supports MSI only, use MSI.
> If the platform supports pin-based only, use pin-based.

Also as RealTek's testing results, RTL8188EE and RTL8723BE work well
with both MSI mode and pin-based mode fallback.

Signed-off-by: Adam Lee <adam.lee@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c