diff options
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 | ||