[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>
This commit is contained in:

committed by
James Bottomley

parent
410ca5c7c6
commit
1abfd37013
@@ -259,6 +259,7 @@
|
||||
#include "scsi.h"
|
||||
#include <scsi/scsi_dbg.h>
|
||||
#include <scsi/scsi_host.h>
|
||||
#include <scsi/scsi_transport_spi.h>
|
||||
#include "aha152x.h"
|
||||
|
||||
|
||||
@@ -1845,7 +1846,7 @@ static void msgi_run(struct Scsi_Host *shpnt)
|
||||
#if defined(AHA152X_DEBUG)
|
||||
if (HOSTDATA(shpnt)->debug & debug_msgi) {
|
||||
printk(INFO_LEAD "inbound message %02x ", CMDINFO(CURRENT_SC), MSGI(0));
|
||||
scsi_print_msg(&MSGI(0));
|
||||
spi_print_msg(&MSGI(0));
|
||||
printk("\n");
|
||||
}
|
||||
#endif
|
||||
@@ -1933,7 +1934,7 @@ static void msgi_run(struct Scsi_Host *shpnt)
|
||||
break;
|
||||
|
||||
printk(INFO_LEAD, CMDINFO(CURRENT_SC));
|
||||
scsi_print_msg(&MSGI(0));
|
||||
spi_print_msg(&MSGI(0));
|
||||
printk("\n");
|
||||
|
||||
ticks = (MSGI(3) * 4 + 49) / 50;
|
||||
@@ -2031,7 +2032,7 @@ static void msgo_init(struct Scsi_Host *shpnt)
|
||||
int i;
|
||||
|
||||
printk(DEBUG_LEAD "messages( ", CMDINFO(CURRENT_SC));
|
||||
for (i=0; i<MSGOLEN; i+=scsi_print_msg(&MSGO(i)), printk(" "))
|
||||
for (i=0; i<MSGOLEN; i+=spi_print_msg(&MSGO(i)), printk(" "))
|
||||
;
|
||||
printk(")\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user