From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Giuseppe Cavallaro <peppe.cavallaro@st.com>,
netdev@vger.kernel.org, "David S . Miller" <davem@davemloft.net>
Cc: "Kweh, Hock Leong" <hock.leong.kweh@intel.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000
Date: Tue, 27 Jan 2015 21:44:49 +0200 [thread overview]
Message-ID: <1422387889-21559-4-git-send-email-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <1422387889-21559-1-git-send-email-andriy.shevchenko@linux.intel.com>
From: "Kweh, Hock Leong" <hock.leong.kweh@intel.com>
In Intel Quark SoC X1000, both of the Ethernet controllers support
MSI interrupt handling. This patch enables them to use MSI interrupt
servicing in stmmac_pci for Intel Quark X1000.
Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
index 50f3c50..3bca908 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
@@ -212,6 +212,8 @@ static int stmmac_pci_probe(struct pci_dev *pdev,
} else
stmmac_default_data(plat);
+ pci_enable_msi(pdev);
+
priv = stmmac_dvr_probe(&pdev->dev, plat, pcim_iomap_table(pdev)[i]);
if (IS_ERR(priv)) {
dev_err(&pdev->dev, "%s: main driver probe failed\n", __func__);
--
2.1.4
next prev parent reply other threads:[~2015-01-27 19:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-27 19:44 [PATCH v3 0/3] net: stmmac: Enable Intel Quark SoC X1000 Ethernet support Andy Shevchenko
2015-01-27 19:44 ` [PATCH v3 1/3] stmmac: pci: add support for Intel Quark X1000 Andy Shevchenko
2015-01-27 19:44 ` [PATCH v3 2/3] stmmac: pci: introduce Intel Quark X1000 runtime detection Andy Shevchenko
2015-01-27 19:44 ` Andy Shevchenko [this message]
2015-01-28 5:08 ` [PATCH v3 0/3] net: stmmac: Enable Intel Quark SoC X1000 Ethernet support David Miller
-- strict thread matches above, loose matches on Subject: below --
2015-02-02 15:17 [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000 Bryan O'Donoghue
2015-02-02 15:46 ` Andy Shevchenko
2015-02-02 15:50 ` Bryan O'Donoghue
2015-02-04 3:49 ` Kweh, Hock Leong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422387889-21559-4-git-send-email-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=davem@davemloft.net \
--cc=hock.leong.kweh@intel.com \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).