diff options
author | Matthew Wilcox <matthew@wil.cx> | 2005-12-15 16:22:01 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-15 21:41:27 -0500 |
commit | 1abfd370134553f3b47e3e40a0526e05001409c2 (patch) | |
tree | 44653f5df309634cfdf347dcf1ec961667721101 /drivers/scsi/sun3_NCR5380.c | |
parent | 410ca5c7c6ed08bda165e8137bff26c3fbee5a1b (diff) |
[SCSI] Rename scsi_print_msg to spi_print_msg
Rename scsi_print_msg to spi_print_msg and move its prototype from
scsi_dbg.h to scsi_transport_spi.h
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r-- | drivers/scsi/sun3_NCR5380.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c index c041bfd56e12..25cced91c8a6 100644 --- a/drivers/scsi/sun3_NCR5380.c +++ b/drivers/scsi/sun3_NCR5380.c | |||
@@ -70,6 +70,7 @@ | |||
70 | * | 70 | * |
71 | */ | 71 | */ |
72 | #include <scsi/scsi_dbg.h> | 72 | #include <scsi/scsi_dbg.h> |
73 | #include <scsi/scsi_transport_spi.h> | ||
73 | 74 | ||
74 | /* | 75 | /* |
75 | * Further development / testing that should be done : | 76 | * Further development / testing that should be done : |
@@ -2378,7 +2379,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance) | |||
2378 | * 3..length+1 arguments | 2379 | * 3..length+1 arguments |
2379 | * | 2380 | * |
2380 | * Start the extended message buffer with the EXTENDED_MESSAGE | 2381 | * Start the extended message buffer with the EXTENDED_MESSAGE |
2381 | * byte, since scsi_print_msg() wants the whole thing. | 2382 | * byte, since spi_print_msg() wants the whole thing. |
2382 | */ | 2383 | */ |
2383 | extended_msg[0] = EXTENDED_MESSAGE; | 2384 | extended_msg[0] = EXTENDED_MESSAGE; |
2384 | /* Accept first byte by clearing ACK */ | 2385 | /* Accept first byte by clearing ACK */ |
@@ -2431,7 +2432,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance) | |||
2431 | default: | 2432 | default: |
2432 | if (!tmp) { | 2433 | if (!tmp) { |
2433 | printk(KERN_DEBUG "scsi%d: rejecting message ", HOSTNO); | 2434 | printk(KERN_DEBUG "scsi%d: rejecting message ", HOSTNO); |
2434 | scsi_print_msg (extended_msg); | 2435 | spi_print_msg(extended_msg); |
2435 | printk("\n"); | 2436 | printk("\n"); |
2436 | } else if (tmp != EXTENDED_MESSAGE) | 2437 | } else if (tmp != EXTENDED_MESSAGE) |
2437 | printk(KERN_DEBUG "scsi%d: rejecting unknown " | 2438 | printk(KERN_DEBUG "scsi%d: rejecting unknown " |
@@ -2566,7 +2567,7 @@ static void NCR5380_reselect (struct Scsi_Host *instance) | |||
2566 | 2567 | ||
2567 | if (!(msg[0] & 0x80)) { | 2568 | if (!(msg[0] & 0x80)) { |
2568 | printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO); | 2569 | printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO); |
2569 | scsi_print_msg(msg); | 2570 | spi_print_msg(msg); |
2570 | do_abort(instance); | 2571 | do_abort(instance); |
2571 | return; | 2572 | return; |
2572 | } | 2573 | } |