[Trusty][PATCH 1/3] rtlwifi: make MSI support a module parameter

Adam Lee adam.lee at canonical.com
Fri Jun 13 03:35:18 UTC 2014


BugLink: http://bugs.launchpad.net/bugs/1296591

This makes MSI support a module parameter, for debugging and workaround
convenience.

Signed-off-by: Adam Lee <adam.lee at canonical.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
(cherry picked from commit 73070c45d50060f686df1f34c649cbc089991a28)
Signed-off-by: Adam Lee <adam.lee at canonical.com>
---
 drivers/net/wireless/rtlwifi/wifi.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h
index 2304c7f..ff6e76f 100644
--- a/drivers/net/wireless/rtlwifi/wifi.h
+++ b/drivers/net/wireless/rtlwifi/wifi.h
@@ -1854,6 +1854,10 @@ struct rtl_mod_params {
 
 	/* default: 1 = using linked fw power save */
 	bool fwctrl_lps;
+
+	/* default: 0 = not using MSI interrupts mode */
+	/* submodules should set their own defalut value */
+	bool msi_support;
 };
 
 struct rtl_hal_usbint_cfg {
-- 
2.0.0





More information about the kernel-team mailing list