diff options
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r-- | drivers/net/bnx2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 65df1de447e4..b1c20e5f7de8 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -6145,6 +6145,10 @@ bnx2_enable_msix(struct bnx2 *bp, int msix_vecs) | |||
6145 | REG_WR(bp, BNX2_PCI_MSIX_TBL_OFF_BIR, BNX2_PCI_GRC_WINDOW2_BASE); | 6145 | REG_WR(bp, BNX2_PCI_MSIX_TBL_OFF_BIR, BNX2_PCI_GRC_WINDOW2_BASE); |
6146 | REG_WR(bp, BNX2_PCI_MSIX_PBA_OFF_BIT, BNX2_PCI_GRC_WINDOW3_BASE); | 6146 | REG_WR(bp, BNX2_PCI_MSIX_PBA_OFF_BIT, BNX2_PCI_GRC_WINDOW3_BASE); |
6147 | 6147 | ||
6148 | /* Need to flush the previous three writes to ensure MSI-X | ||
6149 | * is setup properly */ | ||
6150 | REG_RD(bp, BNX2_PCI_MSIX_CONTROL); | ||
6151 | |||
6148 | for (i = 0; i < BNX2_MAX_MSIX_VEC; i++) { | 6152 | for (i = 0; i < BNX2_MAX_MSIX_VEC; i++) { |
6149 | msix_ent[i].entry = i; | 6153 | msix_ent[i].entry = i; |
6150 | msix_ent[i].vector = 0; | 6154 | msix_ent[i].vector = 0; |