aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/53c7xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/53c7xx.c')
-rw-r--r--drivers/scsi/53c7xx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/53c7xx.c b/drivers/scsi/53c7xx.c
index 9cb5dd48383f..7894b8ea84bd 100644
--- a/drivers/scsi/53c7xx.c
+++ b/drivers/scsi/53c7xx.c
@@ -282,6 +282,7 @@
282#include "scsi.h" 282#include "scsi.h"
283#include <scsi/scsi_dbg.h> 283#include <scsi/scsi_dbg.h>
284#include <scsi/scsi_host.h> 284#include <scsi/scsi_host.h>
285#include <scsi/scsi_transport_spi.h>
285#include "53c7xx.h" 286#include "53c7xx.h"
286#include <linux/stat.h> 287#include <linux/stat.h>
287#include <linux/stddef.h> 288#include <linux/stddef.h>
@@ -1724,7 +1725,7 @@ NCR53c7xx_run_tests (struct Scsi_Host *host) {
1724 printk ("scsi%d : status ", host->host_no); 1725 printk ("scsi%d : status ", host->host_no);
1725 scsi_print_status (status); 1726 scsi_print_status (status);
1726 printk ("\nscsi%d : message ", host->host_no); 1727 printk ("\nscsi%d : message ", host->host_no);
1727 scsi_print_msg (&msg); 1728 spi_print_msg(&msg);
1728 printk ("\n"); 1729 printk ("\n");
1729 } else if (hostdata->test_completed == 3) { 1730 } else if (hostdata->test_completed == 3) {
1730 printk("scsi%d : test 2 no connection with target %d\n", 1731 printk("scsi%d : test 2 no connection with target %d\n",
@@ -2313,7 +2314,7 @@ NCR53c7x0_dstat_sir_intr (struct Scsi_Host *host, struct
2313 printk ("scsi%d : received message", host->host_no); 2314 printk ("scsi%d : received message", host->host_no);
2314 if (c) 2315 if (c)
2315 printk (" from target %d lun %d ", c->device->id, c->device->lun); 2316 printk (" from target %d lun %d ", c->device->id, c->device->lun);
2316 scsi_print_msg ((unsigned char *) hostdata->msg_buf); 2317 spi_print_msg((unsigned char *) hostdata->msg_buf);
2317 printk("\n"); 2318 printk("\n");
2318 } 2319 }
2319 2320
@@ -5540,7 +5541,7 @@ print_dsa (struct Scsi_Host *host, u32 *dsa, const char *prefix) {
5540 i > 0 && !check_address ((unsigned long) ptr, 1); 5541 i > 0 && !check_address ((unsigned long) ptr, 1);
5541 ptr += len, i -= len) { 5542 ptr += len, i -= len) {
5542 printk(" "); 5543 printk(" ");
5543 len = scsi_print_msg (ptr); 5544 len = spi_print_msg(ptr);
5544 printk("\n"); 5545 printk("\n");
5545 if (!len) 5546 if (!len)
5546 break; 5547 break;