aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atari_NCR5380.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic>2005-04-18 14:45:00 -0400
committerJames Bottomley <jejb@titanic>2005-04-18 14:45:00 -0400
commitc46f2ffb9e7fce7208c2639790e1ade42e00b146 (patch)
tree284912295d46a861930d0619788a650f56c2a29b /drivers/scsi/atari_NCR5380.c
parentc2a9331c62216e222a08de8dd58559367fef0af6 (diff)
parentf59114b7b5dc677bbd7cc7e26a5fcb3572a3445c (diff)
merge by hand (scsi_device.h)
Diffstat (limited to 'drivers/scsi/atari_NCR5380.c')
-rw-r--r--drivers/scsi/atari_NCR5380.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c
index 5d1e78ebed83..2c12be72c4c6 100644
--- a/drivers/scsi/atari_NCR5380.c
+++ b/drivers/scsi/atari_NCR5380.c
@@ -73,6 +73,7 @@
73 * 1. Test linked command handling code after Eric is ready with 73 * 1. Test linked command handling code after Eric is ready with
74 * the high level code. 74 * the high level code.
75 */ 75 */
76#include <scsi/scsi_dbg.h>
76 77
77#if (NDEBUG & NDEBUG_LISTS) 78#if (NDEBUG & NDEBUG_LISTS)
78#define LIST(x,y) \ 79#define LIST(x,y) \
@@ -2354,7 +2355,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance)
2354 * 3..length+1 arguments 2355 * 3..length+1 arguments
2355 * 2356 *
2356 * Start the extended message buffer with the EXTENDED_MESSAGE 2357 * Start the extended message buffer with the EXTENDED_MESSAGE
2357 * byte, since print_msg() wants the whole thing. 2358 * byte, since scsi_print_msg() wants the whole thing.
2358 */ 2359 */
2359 extended_msg[0] = EXTENDED_MESSAGE; 2360 extended_msg[0] = EXTENDED_MESSAGE;
2360 /* Accept first byte by clearing ACK */ 2361 /* Accept first byte by clearing ACK */
@@ -2407,7 +2408,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance)
2407 default: 2408 default:
2408 if (!tmp) { 2409 if (!tmp) {
2409 printk(KERN_DEBUG "scsi%d: rejecting message ", HOSTNO); 2410 printk(KERN_DEBUG "scsi%d: rejecting message ", HOSTNO);
2410 print_msg (extended_msg); 2411 scsi_print_msg (extended_msg);
2411 printk("\n"); 2412 printk("\n");
2412 } else if (tmp != EXTENDED_MESSAGE) 2413 } else if (tmp != EXTENDED_MESSAGE)
2413 printk(KERN_DEBUG "scsi%d: rejecting unknown " 2414 printk(KERN_DEBUG "scsi%d: rejecting unknown "
@@ -2540,7 +2541,7 @@ static void NCR5380_reselect (struct Scsi_Host *instance)
2540 2541
2541 if (!(msg[0] & 0x80)) { 2542 if (!(msg[0] & 0x80)) {
2542 printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO); 2543 printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO);
2543 print_msg(msg); 2544 scsi_print_msg(msg);
2544 do_abort(instance); 2545 do_abort(instance);
2545 return; 2546 return;
2546 } 2547 }
@@ -2646,7 +2647,7 @@ int NCR5380_abort (Scsi_Cmnd *cmd)
2646 unsigned long flags; 2647 unsigned long flags;
2647 2648
2648 printk(KERN_NOTICE "scsi%d: aborting command\n", HOSTNO); 2649 printk(KERN_NOTICE "scsi%d: aborting command\n", HOSTNO);
2649 print_Scsi_Cmnd (cmd); 2650 scsi_print_command(cmd);
2650 2651
2651 NCR5380_print_status (instance); 2652 NCR5380_print_status (instance);
2652 2653