tree f57d0863e95677bdf35054df2d7d75fd7924f7f5
parent 7809db1e361c74f4d6428e78920ba882395cdb47
author Roland Dreier <[EMAIL PROTECTED]> Tue Apr 12 08:26:47 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:26:47 2005
[PATCH] IB/mthca: print assigned IRQ when interrupt test fails
Print IRQ number when NOP command interrupt test fails to help debugging.
Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
mthca_main.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: drivers/infiniband/hw/mthca/mthca_main.c
===================================================================
---
08f289d66edcfbcde6c82f2c70ce8c836c336b8f/drivers/infiniband/hw/mthca/mthca_main.c
(mode:100644 sha1:a8c6db860cf329711994815f7aaa914606ccbd67)
+++
f57d0863e95677bdf35054df2d7d75fd7924f7f5/drivers/infiniband/hw/mthca/mthca_main.c
(mode:100644 sha1:99fd717488362ea3c5a5dfe89b848c2baa6a0f40)
@@ -672,7 +672,10 @@
err = mthca_NOP(dev, &status);
if (err || status) {
- mthca_err(dev, "NOP command failed to generate interrupt,
aborting.\n");
+ mthca_err(dev, "NOP command failed to generate interrupt (IRQ
%d), aborting.\n",
+ dev->mthca_flags & MTHCA_FLAG_MSI_X ?
+ dev->eq_table.eq[MTHCA_EQ_CMD].msi_x_vector :
+ dev->pdev->irq);
if (dev->mthca_flags & (MTHCA_FLAG_MSI | MTHCA_FLAG_MSI_X))
mthca_err(dev, "Try again with MSI/MSI-X disabled.\n");
else
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html