aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha152x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aha152x.c')
-rw-r--r--drivers/scsi/aha152x.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c
index 9df23b654cec..cb2ee25f213f 100644
--- a/drivers/scsi/aha152x.c
+++ b/drivers/scsi/aha152x.c
@@ -259,6 +259,7 @@
259#include "scsi.h" 259#include "scsi.h"
260#include <scsi/scsi_dbg.h> 260#include <scsi/scsi_dbg.h>
261#include <scsi/scsi_host.h> 261#include <scsi/scsi_host.h>
262#include <scsi/scsi_transport_spi.h>
262#include "aha152x.h" 263#include "aha152x.h"
263 264
264 265
@@ -1845,7 +1846,7 @@ static void msgi_run(struct Scsi_Host *shpnt)
1845#if defined(AHA152X_DEBUG) 1846#if defined(AHA152X_DEBUG)
1846 if (HOSTDATA(shpnt)->debug & debug_msgi) { 1847 if (HOSTDATA(shpnt)->debug & debug_msgi) {
1847 printk(INFO_LEAD "inbound message %02x ", CMDINFO(CURRENT_SC), MSGI(0)); 1848 printk(INFO_LEAD "inbound message %02x ", CMDINFO(CURRENT_SC), MSGI(0));
1848 scsi_print_msg(&MSGI(0)); 1849 spi_print_msg(&MSGI(0));
1849 printk("\n"); 1850 printk("\n");
1850 } 1851 }
1851#endif 1852#endif
@@ -1933,7 +1934,7 @@ static void msgi_run(struct Scsi_Host *shpnt)
1933 break; 1934 break;
1934 1935
1935 printk(INFO_LEAD, CMDINFO(CURRENT_SC)); 1936 printk(INFO_LEAD, CMDINFO(CURRENT_SC));
1936 scsi_print_msg(&MSGI(0)); 1937 spi_print_msg(&MSGI(0));
1937 printk("\n"); 1938 printk("\n");
1938 1939
1939 ticks = (MSGI(3) * 4 + 49) / 50; 1940 ticks = (MSGI(3) * 4 + 49) / 50;
@@ -2031,7 +2032,7 @@ static void msgo_init(struct Scsi_Host *shpnt)
2031 int i; 2032 int i;
2032 2033
2033 printk(DEBUG_LEAD "messages( ", CMDINFO(CURRENT_SC)); 2034 printk(DEBUG_LEAD "messages( ", CMDINFO(CURRENT_SC));
2034 for (i=0; i<MSGOLEN; i+=scsi_print_msg(&MSGO(i)), printk(" ")) 2035 for (i=0; i<MSGOLEN; i+=spi_print_msg(&MSGO(i)), printk(" "))
2035 ; 2036 ;
2036 printk(")\n"); 2037 printk(")\n");
2037 } 2038 }