[scsi hcil 10/9] ibmmca bug fix

Jeff Garzik
2005-10-24T22:30:56Z

As one would expect, this lives in scsilun-2.6#submit10 branch.

commit bde81cf4dbc63b9fdf38ec30405dbd70bfba23b5
Author: Jeff Garzik <jgarzik@pobox.com>
Date: Mon Oct 24 18:26:11 2005 -0400

[SCSI] revert ibmmca change that snuck in

Work from another branch snuck into this one. Revert.

drivers/scsi/ibmmca.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

bde81cf4dbc63b9fdf38ec30405dbd70bfba23b5
diff --git a/drivers/scsi/ibmmca.c b/drivers/scsi/ibmmca.c
index d5e9370..887a5c3 100644
--- a/drivers/scsi/ibmmca.c
+++ b/drivers/scsi/ibmmca.c
@@ -673,9 +673,8 @@ static irqreturn_t interrupt_handler(int
ld(ihost_index)[ldn].cmd = NULL;
#ifdef IM_DEBUG_TIMEOUT
if (cmd) {
- if ((cmd->target == TIMEOUT_PUN) && (scsilun_to_int(&cmd->device->lun) == TIMEOUT_LUN)) {
- scmd_printk(KERN_INFO, cmd,
- "IBM MCA SCSI: Ignoring interrupt\n");
+ if ((cmd->target == TIMEOUT_PUN) && (cmd->device->lun == TIMEOUT_LUN)) {
+ printk("IBM MCA SCSI: Ignoring interrupt from pun=%x, lun=%x.\n", cmd->target, cmd->device->lun);
return IRQ_HANDLED;
}
}