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/arm | |
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/arm')
-rw-r--r-- | drivers/scsi/arm/acornscsi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/arm/acornscsi.c b/drivers/scsi/arm/acornscsi.c index b7b20c689c24..09ed05727bcb 100644 --- a/drivers/scsi/arm/acornscsi.c +++ b/drivers/scsi/arm/acornscsi.c | |||
@@ -152,6 +152,7 @@ | |||
152 | #include "../scsi.h" | 152 | #include "../scsi.h" |
153 | #include <scsi/scsi_dbg.h> | 153 | #include <scsi/scsi_dbg.h> |
154 | #include <scsi/scsi_host.h> | 154 | #include <scsi/scsi_host.h> |
155 | #include <scsi/scsi_transport_spi.h> | ||
155 | #include "acornscsi.h" | 156 | #include "acornscsi.h" |
156 | #include "msgqueue.h" | 157 | #include "msgqueue.h" |
157 | #include "scsi.h" | 158 | #include "scsi.h" |
@@ -1370,7 +1371,7 @@ void acornscsi_sendmessage(AS_Host *host) | |||
1370 | 1371 | ||
1371 | host->scsi.last_message = msg->msg[0]; | 1372 | host->scsi.last_message = msg->msg[0]; |
1372 | #if (DEBUG & DEBUG_MESSAGES) | 1373 | #if (DEBUG & DEBUG_MESSAGES) |
1373 | scsi_print_msg(msg->msg); | 1374 | spi_print_msg(msg->msg); |
1374 | #endif | 1375 | #endif |
1375 | break; | 1376 | break; |
1376 | 1377 | ||
@@ -1392,7 +1393,7 @@ void acornscsi_sendmessage(AS_Host *host) | |||
1392 | while ((msg = msgqueue_getmsg(&host->scsi.msgs, msgnr++)) != NULL) { | 1393 | while ((msg = msgqueue_getmsg(&host->scsi.msgs, msgnr++)) != NULL) { |
1393 | unsigned int i; | 1394 | unsigned int i; |
1394 | #if (DEBUG & DEBUG_MESSAGES) | 1395 | #if (DEBUG & DEBUG_MESSAGES) |
1395 | scsi_print_msg(msg); | 1396 | spi_print_msg(msg); |
1396 | #endif | 1397 | #endif |
1397 | i = 0; | 1398 | i = 0; |
1398 | if (acornscsi_write_pio(host, msg->msg, &i, msg->length, 1000000)) | 1399 | if (acornscsi_write_pio(host, msg->msg, &i, msg->length, 1000000)) |
@@ -1488,7 +1489,7 @@ void acornscsi_message(AS_Host *host) | |||
1488 | #if (DEBUG & DEBUG_MESSAGES) | 1489 | #if (DEBUG & DEBUG_MESSAGES) |
1489 | printk("scsi%d.%c: message in: ", | 1490 | printk("scsi%d.%c: message in: ", |
1490 | host->host->host_no, acornscsi_target(host)); | 1491 | host->host->host_no, acornscsi_target(host)); |
1491 | scsi_print_msg(message); | 1492 | spi_print_msg(message); |
1492 | printk("\n"); | 1493 | printk("\n"); |
1493 | #endif | 1494 | #endif |
1494 | 1495 | ||