]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] forcedeth: Disable INTx when enabling MSI in forcedeth
authorDaniel Barkalow <barkalow@iabervon.org>
Fri, 8 Dec 2006 16:58:15 +0000 (11:58 -0500)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Dec 2006 19:32:41 +0000 (11:32 -0800)
commit39a173632d043082157b4b002e956b3131556eea
tree52b1b070d79f3b0d256c29eeaa36ea23a4b9ecc1
parent3667bf6de29ff04c42557e31e3e8cbbbb835732c
[PATCH] forcedeth: Disable INTx when enabling MSI in forcedeth

At least some nforce cards continue to send legacy interrupts when MSI
is enabled, and these interrupts are treated as unhandled by the
kernel. This patch disables legacy interrupts explicitly when enabling
MSI mode.

The correct fix is to change the MSI infrastructure to disable legacy
interrupts when enabling MSI, but this is potentially risky if the
device isn't PCI-2.3 or is quirky, so the correct fix is going into
mainline, while patches like this one go into -stable.

Legend has it that it is most correct to disable legacy interrupts
before enabling MSI, but the mainline patch does it in the other
order, and this patch is "obviously" the same as mainline.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Greg KH <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/forcedeth.c