From patchwork Mon May 5 08:33:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Lee X-Patchwork-Id: 4112601 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D6349F271 for ; Mon, 5 May 2014 08:33:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD0EF202AE for ; Mon, 5 May 2014 08:33:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AB40220254 for ; Mon, 5 May 2014 08:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755092AbaEEIdq (ORCPT ); Mon, 5 May 2014 04:33:46 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:54935 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754935AbaEEIdp (ORCPT ); Mon, 5 May 2014 04:33:45 -0400 Received: by mail-pa0-f53.google.com with SMTP id kp14so4436434pab.40 for ; Mon, 05 May 2014 01:33:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VdR47vaZHAoXRYksQ0VvKeC+vbqJ01UWnv31EwwPqMM=; b=ESQHZHuY/zHLpwcCR7gERy8swSDKozAfKs8PjUApU+0xmpz499s9wrBd4vD92vWz+8 YDHCK1NsI36eP4PGTWliCcXT/jTBiWD4mpeMpJdt4AD9EYlmxUdsxwYlbNwxKUQP7ul3 Y6v9FFhxQ1ZjWt202Q4IPCJfS84K2WXOAOqKbJ9JzOg1h13KWUkKt5uDjTnbZtRa5GHk 7V7d4oEoVS6K50iQ/lV4grhv/IYGQDZs6PhvduH7WfX845VQToes+KIbk0Qsdlt1blPV xlI6YIIDkZc3qUctPJhU1Jy101V0CApbMFsfJzqaRVS/fLOUIto9i0LDgwyXWzr2pavA luXA== X-Gm-Message-State: ALoCoQkIS6qAseFjyvj9VMo6ZkdiVGuhZUn3X28/YDvXFDYACLjKmYNRL01pDpRTQToWeCjXHo2v X-Received: by 10.66.144.102 with SMTP id sl6mr68563818pab.96.1399278824916; Mon, 05 May 2014 01:33:44 -0700 (PDT) Received: from localhost ([116.213.97.190]) by mx.google.com with ESMTPSA id xk1sm65669299pac.21.2014.05.05.01.33.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 May 2014 01:33:44 -0700 (PDT) From: Adam Lee To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, Larry Finger , "John W. Linville" Subject: [PATCH 1/3] rtlwifi: make MSI support a module parameter Date: Mon, 5 May 2014 16:33:36 +0800 Message-Id: <1399278818-19152-1-git-send-email-adam.lee@canonical.com> X-Mailer: git-send-email 2.0.0.rc0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This makes MSI support a module parameter, for debugging and workaround convenience. Signed-off-by: Adam Lee Acked-by: Larry Finger (for all 3 patches) --- 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 6965afd..eef93d1 100644 --- a/drivers/net/wireless/rtlwifi/wifi.h +++ b/drivers/net/wireless/rtlwifi/wifi.h @@ -2030,6 +2030,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 {