• Daniel Barkalow's avatar
    [PATCH] forcedeth: Disable INTx when enabling MSI in forcedeth · 8dc0b54b
    Daniel Barkalow authored
    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>
    8dc0b54b
forcedeth.c 135 KB