]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitace462551311fda0fe7fbc8626475e6da4e20fc1
treed26c0bd3391c7b1dec8f371f4901c681eaf8ab4a
parent9c513be54ca62e27a42a7509ae33c02948842bf9
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