projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WATCHDOG] iTCO_wdt.c shutdown patch
[powerpc.git]
/
drivers
/
scsi
/
mvme147.c
diff --git
a/drivers/scsi/mvme147.c
b/drivers/scsi/mvme147.c
index
2fb31ee
..
9b991b7
100644
(file)
--- a/
drivers/scsi/mvme147.c
+++ b/
drivers/scsi/mvme147.c
@@
-2,7
+2,6
@@
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/sched.h>
-#include <linux/version.h>
#include <linux/interrupt.h>
#include <asm/page.h>
#include <linux/interrupt.h>
#include <asm/page.h>
@@
-30,7
+29,7
@@
static irqreturn_t mvme147_intr (int irq, void *dummy, struct pt_regs *fp)
return IRQ_HANDLED;
}
return IRQ_HANDLED;
}
-static int dma_setup
(Scsi_C
mnd *cmd, int dir_in)
+static int dma_setup
(struct scsi_c
mnd *cmd, int dir_in)
{
unsigned char flags = 0x01;
unsigned long addr = virt_to_bus(cmd->SCp.ptr);
{
unsigned char flags = 0x01;
unsigned long addr = virt_to_bus(cmd->SCp.ptr);
@@
-58,13
+57,13
@@
static int dma_setup (Scsi_Cmnd *cmd, int dir_in)
return 0;
}
return 0;
}
-static void dma_stop
(struct Scsi_Host *instance, Scsi_C
mnd *SCpnt,
+static void dma_stop
(struct Scsi_Host *instance, struct scsi_c
mnd *SCpnt,
int status)
{
m147_pcc->dma_cntrl = 0;
}
int status)
{
m147_pcc->dma_cntrl = 0;
}
-int mvme147_detect(
Scsi_Host_T
emplate *tpnt)
+int mvme147_detect(
struct scsi_host_t
emplate *tpnt)
{
static unsigned char called = 0;
wd33c93_regs regs;
{
static unsigned char called = 0;
wd33c93_regs regs;
@@
-113,7
+112,7
@@
int mvme147_detect(Scsi_Host_Template *tpnt)
return 0;
}
return 0;
}
-static int mvme147_bus_reset(
Scsi_C
mnd *cmd)
+static int mvme147_bus_reset(
struct scsi_c
mnd *cmd)
{
/* FIXME perform bus-specific reset */
{
/* FIXME perform bus-specific reset */
@@
-131,7
+130,7
@@
static int mvme147_bus_reset(Scsi_Cmnd *cmd)
#include "mvme147.h"
#include "mvme147.h"
-static
Scsi_Host_T
emplate driver_template = {
+static
struct scsi_host_t
emplate driver_template = {
.proc_name = "MVME147",
.name = "MVME147 built-in SCSI",
.detect = mvme147_detect,
.proc_name = "MVME147",
.name = "MVME147 built-in SCSI",
.detect = mvme147_detect,