aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKweh, Hock Leong <hock.leong.kweh@intel.com>2015-01-27 14:44:49 -0500
committerDavid S. Miller <davem@davemloft.net>2015-01-28 00:08:08 -0500
commitd2a029bde37b4c2e2d8b26e7457bb2c58afbbadd (patch)
tree36c2647d695b08324f11336e29cb52fc98578b04
parent0763d955b46e9b4c875cf1a7ab8576fb79fd1398 (diff)
stmmac: pci: add MSI support for Intel Quark X1000
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> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
index 50f3c50852fb..3bca908716e2 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,
212 } else 212 } else
213 stmmac_default_data(plat); 213 stmmac_default_data(plat);
214 214
215 pci_enable_msi(pdev);
216
215 priv = stmmac_dvr_probe(&pdev->dev, plat, pcim_iomap_table(pdev)[i]); 217 priv = stmmac_dvr_probe(&pdev->dev, plat, pcim_iomap_table(pdev)[i]);
216 if (IS_ERR(priv)) { 218 if (IS_ERR(priv)) {
217 dev_err(&pdev->dev, "%s: main driver probe failed\n", __func__); 219 dev_err(&pdev->dev, "%s: main driver probe failed\n", __func__);