diff options
Diffstat (limited to 'drivers/scsi/NCR5380.c')
-rw-r--r-- | drivers/scsi/NCR5380.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index 23392ae7df8b..4368767929f6 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c | |||
@@ -2190,7 +2190,8 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) { | |||
2190 | * If the watchdog timer fires, all future accesses to this | 2190 | * If the watchdog timer fires, all future accesses to this |
2191 | * device will use the polled-IO. | 2191 | * device will use the polled-IO. |
2192 | */ | 2192 | */ |
2193 | printk("scsi%d : switching target %d lun %d to slow handshake\n", instance->host_no, cmd->device->id, cmd->device->lun); | 2193 | scmd_printk(KERN_INFO, cmd, |
2194 | "switching to slow handshake\n"); | ||
2194 | cmd->device->borken = 1; | 2195 | cmd->device->borken = 1; |
2195 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_ATN); | 2196 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_ATN); |
2196 | sink = 1; | 2197 | sink = 1; |
@@ -2429,9 +2430,11 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) { | |||
2429 | scsi_print_msg(extended_msg); | 2430 | scsi_print_msg(extended_msg); |
2430 | printk("\n"); | 2431 | printk("\n"); |
2431 | } else if (tmp != EXTENDED_MESSAGE) | 2432 | } else if (tmp != EXTENDED_MESSAGE) |
2432 | printk("scsi%d: rejecting unknown message %02x from target %d, lun %d\n", instance->host_no, tmp, cmd->device->id, cmd->device->lun); | 2433 | scmd_printk(KERN_INFO, cmd, |
2434 | "rejecting unknown message %02x\n",tmp); | ||
2433 | else | 2435 | else |
2434 | printk("scsi%d: rejecting unknown extended message code %02x, length %d from target %d, lun %d\n", instance->host_no, extended_msg[1], extended_msg[0], cmd->device->id, cmd->device->lun); | 2436 | scmd_printk(KERN_INFO, cmd, |
2437 | "rejecting unknown extended message code %02x, length %d\n", extended_msg[1], extended_msg[0]); | ||
2435 | 2438 | ||
2436 | msgout = MESSAGE_REJECT; | 2439 | msgout = MESSAGE_REJECT; |
2437 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_ATN); | 2440 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_ATN); |