Commit 8dc0b54b authored by Daniel Barkalow's avatar Daniel Barkalow Committed by Chris Wright
Browse files

[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: default avatarDaniel Barkalow <barkalow@iabervon.org>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
parent cf2b74ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment