[SCSI] wd33c93: Scsi_Cmnd convertion
Changes obsolete typedef'd Scsi_Cmnd to struct scsi_cmnd. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Этот коммит содержится в:

коммит произвёл
James Bottomley

родитель
a506b44bb5
Коммит
65396410af
@@ -44,7 +44,7 @@ static irqreturn_t a3000_intr (int irq, void *dummy, struct pt_regs *fp)
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
static int dma_setup (Scsi_Cmnd *cmd, int dir_in)
|
||||
static int dma_setup(struct scsi_cmnd *cmd, int dir_in)
|
||||
{
|
||||
unsigned short cntr = CNTR_PDMD | CNTR_INTEN;
|
||||
unsigned long addr = virt_to_bus(cmd->SCp.ptr);
|
||||
@@ -110,8 +110,8 @@ static int dma_setup (Scsi_Cmnd *cmd, int dir_in)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void dma_stop (struct Scsi_Host *instance, Scsi_Cmnd *SCpnt,
|
||||
int status)
|
||||
static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt,
|
||||
int status)
|
||||
{
|
||||
/* disable SCSI interrupts */
|
||||
unsigned short cntr = CNTR_PDMD;
|
||||
@@ -205,7 +205,7 @@ fail_register:
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int a3000_bus_reset(Scsi_Cmnd *cmd)
|
||||
static int a3000_bus_reset(struct scsi_cmnd *cmd)
|
||||
{
|
||||
/* FIXME perform bus-specific reset */
|
||||
|
||||
|
Ссылка в новой задаче
Block a user