Skip to content

Commit

Permalink
bnx2x: enable inta on the pci bus when used
Browse files Browse the repository at this point in the history
During boot-from-SAN, if msix interrupts are unavailable and inta
is requested, it is possible that inta would be disabled in the
pci bus. This patch enables inta when requested.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Apr 4, 2012
1 parent 32d68de commit 79a8557
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,9 @@ static void bnx2x_igu_int_enable(struct bnx2x *bp)

REG_WR(bp, IGU_REG_PF_CONFIGURATION, val);

if (val & IGU_PF_CONF_INT_LINE_EN)
pci_intx(bp->pdev, true);

barrier();

/* init leading/trailing edge */
Expand Down

0 comments on commit 79a8557

Please sign in to comment.