aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_NCR5380.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r--drivers/scsi/sun3_NCR5380.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c
index 90811390a37d..7e19589e71a0 100644
--- a/drivers/scsi/sun3_NCR5380.c
+++ b/drivers/scsi/sun3_NCR5380.c
@@ -69,6 +69,7 @@
69 * finally replaced that by the *_PRINTK() macros. 69 * finally replaced that by the *_PRINTK() macros.
70 * 70 *
71 */ 71 */
72#include <scsi/scsi_dbg.h>
72 73
73/* 74/*
74 * Further development / testing that should be done : 75 * Further development / testing that should be done :
@@ -2377,7 +2378,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance)
2377 * 3..length+1 arguments 2378 * 3..length+1 arguments
2378 * 2379 *
2379 * Start the extended message buffer with the EXTENDED_MESSAGE 2380 * Start the extended message buffer with the EXTENDED_MESSAGE
2380 * byte, since print_msg() wants the whole thing. 2381 * byte, since scsi_print_msg() wants the whole thing.
2381 */ 2382 */
2382 extended_msg[0] = EXTENDED_MESSAGE; 2383 extended_msg[0] = EXTENDED_MESSAGE;
2383 /* Accept first byte by clearing ACK */ 2384 /* Accept first byte by clearing ACK */
@@ -2430,7 +2431,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance)
2430 default: 2431 default:
2431 if (!tmp) { 2432 if (!tmp) {
2432 printk(KERN_DEBUG "scsi%d: rejecting message ", HOSTNO); 2433 printk(KERN_DEBUG "scsi%d: rejecting message ", HOSTNO);
2433 print_msg (extended_msg); 2434 scsi_print_msg (extended_msg);
2434 printk("\n"); 2435 printk("\n");
2435 } else if (tmp != EXTENDED_MESSAGE) 2436 } else if (tmp != EXTENDED_MESSAGE)
2436 printk(KERN_DEBUG "scsi%d: rejecting unknown " 2437 printk(KERN_DEBUG "scsi%d: rejecting unknown "
@@ -2565,7 +2566,7 @@ static void NCR5380_reselect (struct Scsi_Host *instance)
2565 2566
2566 if (!(msg[0] & 0x80)) { 2567 if (!(msg[0] & 0x80)) {
2567 printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO); 2568 printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO);
2568 print_msg(msg); 2569 scsi_print_msg(msg);
2569 do_abort(instance); 2570 do_abort(instance);
2570 return; 2571 return;
2571 } 2572 }
@@ -2691,7 +2692,7 @@ static int NCR5380_abort (Scsi_Cmnd *cmd)
2691 unsigned long flags; 2692 unsigned long flags;
2692 2693
2693 printk(KERN_NOTICE "scsi%d: aborting command\n", HOSTNO); 2694 printk(KERN_NOTICE "scsi%d: aborting command\n", HOSTNO);
2694 print_Scsi_Cmnd (cmd); 2695 scsi_print_command(cmd);
2695 2696
2696 NCR5380_print_status (instance); 2697 NCR5380_print_status (instance);
2697 2698