[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1302584163-22318-1-git-send-email-prabhakar@freescale.com>
Date: Tue, 12 Apr 2011 10:26:03 +0530
From: Prabhakar Kushwaha <prabhakar@...escale.com>
To: <linuxppc-dev@...ts.ozlabs.org>, <linux.nics@...el.com>,
<auke-jan.h.kok@...el.com>, <e1000-devel@...ts.sourceforge.net>,
<netdev@...r.kernel.org>
CC: <meet2prabhu@...il.com>, Prabhakar <prabhakar@...escale.com>,
Jin Qing <b24347@...escale.com>
Subject: [PATCH] driver/e1000e: Fix default interrupt mode select
From: Prabhakar <prabhakar@...escale.com>
The Intel e1000 device driver defaults to MSI interrupt mode, even if MSI
support is not enabled
Signed-off-by: Jin Qing <b24347@...escale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@...escale.com>
---
Based upon git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git(branch master)
added netdev mail-list and e1000 mail-list & maintainer
drivers/net/e1000e/param.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/net/e1000e/param.c b/drivers/net/e1000e/param.c
index a150e48..7b3bbec 100644
--- a/drivers/net/e1000e/param.c
+++ b/drivers/net/e1000e/param.c
@@ -390,7 +390,11 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter)
.type = range_option,
.name = "Interrupt Mode",
.err = "defaulting to 2 (MSI-X)",
+#ifdef CONFIG_PCI_MSI
.def = E1000E_INT_MODE_MSIX,
+#else
+ .def = E1000E_INT_MODE_LEGACY,
+#endif
.arg = { .r = { .min = MIN_INTMODE,
.max = MAX_INTMODE } }
};
--
1.7.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists