diff options
Diffstat (limited to 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r-- | drivers/scsi/sun3_NCR5380.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c index 1a2367a1b1f2..835bd8dafe0a 100644 --- a/drivers/scsi/sun3_NCR5380.c +++ b/drivers/scsi/sun3_NCR5380.c | |||
@@ -2590,15 +2590,15 @@ static void NCR5380_reselect (struct Scsi_Host *instance) | |||
2590 | * Purpose : abort a command | 2590 | * Purpose : abort a command |
2591 | * | 2591 | * |
2592 | * Inputs : cmd - the struct scsi_cmnd to abort, code - code to set the | 2592 | * Inputs : cmd - the struct scsi_cmnd to abort, code - code to set the |
2593 | * host byte of the result field to, if zero DID_ABORTED is | 2593 | * host byte of the result field to, if zero DID_ABORTED is |
2594 | * used. | 2594 | * used. |
2595 | * | 2595 | * |
2596 | * Returns : 0 - success, -1 on failure. | 2596 | * Returns : SUCCESS - success, FAILED on failure. |
2597 | * | 2597 | * |
2598 | * XXX - there is no way to abort the command that is currently | 2598 | * XXX - there is no way to abort the command that is currently |
2599 | * connected, you have to wait for it to complete. If this is | 2599 | * connected, you have to wait for it to complete. If this is |
2600 | * a problem, we could implement longjmp() / setjmp(), setjmp() | 2600 | * a problem, we could implement longjmp() / setjmp(), setjmp() |
2601 | * called where the loop started in NCR5380_main(). | 2601 | * called where the loop started in NCR5380_main(). |
2602 | */ | 2602 | */ |
2603 | 2603 | ||
2604 | static int NCR5380_abort(struct scsi_cmnd *cmd) | 2604 | static int NCR5380_abort(struct scsi_cmnd *cmd) |
@@ -2608,8 +2608,7 @@ static int NCR5380_abort(struct scsi_cmnd *cmd) | |||
2608 | struct scsi_cmnd *tmp, **prev; | 2608 | struct scsi_cmnd *tmp, **prev; |
2609 | unsigned long flags; | 2609 | unsigned long flags; |
2610 | 2610 | ||
2611 | printk(KERN_NOTICE "scsi%d: aborting command\n", HOSTNO); | 2611 | scmd_printk(KERN_NOTICE, cmd, "aborting command\n"); |
2612 | scsi_print_command(cmd); | ||
2613 | 2612 | ||
2614 | NCR5380_print_status (instance); | 2613 | NCR5380_print_status (instance); |
2615 | 2614 | ||