|
@@ -282,6 +282,7 @@
|
|
#include "scsi.h"
|
|
#include "scsi.h"
|
|
#include <scsi/scsi_dbg.h>
|
|
#include <scsi/scsi_dbg.h>
|
|
#include <scsi/scsi_host.h>
|
|
#include <scsi/scsi_host.h>
|
|
|
|
+#include <scsi/scsi_transport_spi.h>
|
|
#include "53c7xx.h"
|
|
#include "53c7xx.h"
|
|
#include <linux/stat.h>
|
|
#include <linux/stat.h>
|
|
#include <linux/stddef.h>
|
|
#include <linux/stddef.h>
|
|
@@ -1724,7 +1725,7 @@ NCR53c7xx_run_tests (struct Scsi_Host *host) {
|
|
printk ("scsi%d : status ", host->host_no);
|
|
printk ("scsi%d : status ", host->host_no);
|
|
scsi_print_status (status);
|
|
scsi_print_status (status);
|
|
printk ("\nscsi%d : message ", host->host_no);
|
|
printk ("\nscsi%d : message ", host->host_no);
|
|
- scsi_print_msg (&msg);
|
|
|
|
|
|
+ spi_print_msg(&msg);
|
|
printk ("\n");
|
|
printk ("\n");
|
|
} else if (hostdata->test_completed == 3) {
|
|
} else if (hostdata->test_completed == 3) {
|
|
printk("scsi%d : test 2 no connection with target %d\n",
|
|
printk("scsi%d : test 2 no connection with target %d\n",
|
|
@@ -2313,7 +2314,7 @@ NCR53c7x0_dstat_sir_intr (struct Scsi_Host *host, struct
|
|
printk ("scsi%d : received message", host->host_no);
|
|
printk ("scsi%d : received message", host->host_no);
|
|
if (c)
|
|
if (c)
|
|
printk (" from target %d lun %d ", c->device->id, c->device->lun);
|
|
printk (" from target %d lun %d ", c->device->id, c->device->lun);
|
|
- scsi_print_msg ((unsigned char *) hostdata->msg_buf);
|
|
|
|
|
|
+ spi_print_msg((unsigned char *) hostdata->msg_buf);
|
|
printk("\n");
|
|
printk("\n");
|
|
}
|
|
}
|
|
|
|
|
|
@@ -5540,7 +5541,7 @@ print_dsa (struct Scsi_Host *host, u32 *dsa, const char *prefix) {
|
|
i > 0 && !check_address ((unsigned long) ptr, 1);
|
|
i > 0 && !check_address ((unsigned long) ptr, 1);
|
|
ptr += len, i -= len) {
|
|
ptr += len, i -= len) {
|
|
printk(" ");
|
|
printk(" ");
|
|
- len = scsi_print_msg (ptr);
|
|
|
|
|
|
+ len = spi_print_msg(ptr);
|
|
printk("\n");
|
|
printk("\n");
|
|
if (!len)
|
|
if (!len)
|
|
break;
|
|
break;
|