From: Prabhakar <[email protected]> The Intel e1000 device driver defaults to MSI interrupt mode, even if MSI support is not enabled
Signed-off-by: Jin Qing <[email protected]> Signed-off-by: Prabhakar Kushwaha <[email protected]> --- 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 ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
