diff options
author | <hch@lst.de> | 2005-04-03 15:53:59 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic> | 2005-04-18 13:32:20 -0400 |
commit | db9dff366ba78085d0323364fadbf09bec0e77ee (patch) | |
tree | ae86a60cf83c3d897f9488e90fca4b36cd545a1a /drivers/scsi/atari_NCR5380.c | |
parent | b6651129cc27d56a9cbefcb5f713cea7706fd6b7 (diff) |
[PATCH] remove outdated print_* functions
We have the scsi_print_* functions in the proper namespace for a long
time now and there weren't a lot users left.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/atari_NCR5380.c')
-rw-r--r-- | drivers/scsi/atari_NCR5380.c | 9 |
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 | ||