]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: Fix problem of using wrong IRQ handler.
authorMichael Chan <mchan@broadcom.com>
Thu, 19 Mar 2009 01:11:51 +0000 (18:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2009 01:11:51 +0000 (18:11 -0700)
commitdc46f4fb97b42ecfe532d64d7cd30b7a82ce2abd
treed132fa3d4d2c7510a16c8f43a94fac18009a77da
parent5d85a2f63247577db7c9b0b4876a18bfa1eadb47
bnx2: Fix problem of using wrong IRQ handler.

The MSI-X handler was chosen before the call to pci_enable_msix().
If MSI-X was not available, the wrong MSI-X handler would be used in
INTA mode.  This would cause a screaming interrupt problem because
INTA would not be cleared by the MSI-X handler.

Fixed by assigning MSI-X handler after pci_enable_msix() returns
successfully.  Also update version to 1.9.3.

Thomas Chenault <thomas_chenault@dell.com> helped us find this problem.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c