igb: fix legacy mode irq issue
authorAndy Gospodarek <andy@greyhouse.net>
Fri, 15 Feb 2008 22:05:25 +0000 (14:05 -0800)
committerJeff Garzik <jeff@garzik.org>
Sun, 24 Feb 2008 04:55:01 +0000 (23:55 -0500)
commit6cb5e57701d355737f0bc9f94c0f80ed69a95b62
treec4d4e715ba4c87a4518ed2dba7a11ce2186cb2bb
parent5bd3670f31f1c58f500e55c4cdbc243fb4b2e3df
igb: fix legacy mode irq issue

I booted an igb kernel with the option pci=nomsi and instantly noticed
that interrupts no longer worked on my igb device.  I took a look at the
interrupt initialization and quickly discovered a comment stating:

"DO NOT USE EIAME or IAME in legacy mode"

It seemed a bit odd that bits to enable IAM were being set in legacy
interrupt mode, so I dropped out the following parts and interrupts
began working fine again.

[Updated code flow and a nitpick spelling error --Auke]

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/igb/igb_main.c