diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c index 8bd2e3af016d..144aed417faa 100644 --- a/drivers/infiniband/hw/mthca/mthca_main.c +++ b/drivers/infiniband/hw/mthca/mthca_main.c | |||
@@ -672,7 +672,10 @@ static int __devinit mthca_setup_hca(struct mthca_dev *dev) | |||
672 | 672 | ||
673 | err = mthca_NOP(dev, &status); | 673 | err = mthca_NOP(dev, &status); |
674 | if (err || status) { | 674 | if (err || status) { |
675 | mthca_err(dev, "NOP command failed to generate interrupt, aborting.\n"); | 675 | mthca_err(dev, "NOP command failed to generate interrupt (IRQ %d), aborting.\n", |
676 | dev->mthca_flags & MTHCA_FLAG_MSI_X ? | ||
677 | dev->eq_table.eq[MTHCA_EQ_CMD].msi_x_vector : | ||
678 | dev->pdev->irq); | ||
676 | if (dev->mthca_flags & (MTHCA_FLAG_MSI | MTHCA_FLAG_MSI_X)) | 679 | if (dev->mthca_flags & (MTHCA_FLAG_MSI | MTHCA_FLAG_MSI_X)) |
677 | mthca_err(dev, "Try again with MSI/MSI-X disabled.\n"); | 680 | mthca_err(dev, "Try again with MSI/MSI-X disabled.\n"); |
678 | else | 681 | else |