[SCSI] wd33c93: fix up cut and paste error
The three drivers: a2091, gvp11 and mvme147 have erroneous references to a3000_host. Fix these to be references to the proper host variable. Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
8dea0d02f8
commit
a579dab1c1
3 changed files with 9 additions and 9 deletions
|
@ -179,9 +179,9 @@ int __init a2091_detect(struct scsi_host_template *tpnt)
|
||||||
DMA(instance)->DAWR = DAWR_A2091;
|
DMA(instance)->DAWR = DAWR_A2091;
|
||||||
regs.SASR = &(DMA(instance)->SASR);
|
regs.SASR = &(DMA(instance)->SASR);
|
||||||
regs.SCMD = &(DMA(instance)->SCMD);
|
regs.SCMD = &(DMA(instance)->SCMD);
|
||||||
HDATA(a3000_host)->no_sync = 0xff;
|
HDATA(instance)->no_sync = 0xff;
|
||||||
HDATA(a3000_host)->fast = 0;
|
HDATA(instance)->fast = 0;
|
||||||
HDATA(a3000_host)->dma_mode = CTRL_DMA;
|
HDATA(instance)->dma_mode = CTRL_DMA;
|
||||||
wd33c93_init(instance, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
|
wd33c93_init(instance, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
|
||||||
request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED, "A2091 SCSI",
|
request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED, "A2091 SCSI",
|
||||||
instance);
|
instance);
|
||||||
|
|
|
@ -322,9 +322,9 @@ int __init gvp11_detect(struct scsi_host_template *tpnt)
|
||||||
*/
|
*/
|
||||||
regs.SASR = &(DMA(instance)->SASR);
|
regs.SASR = &(DMA(instance)->SASR);
|
||||||
regs.SCMD = &(DMA(instance)->SCMD);
|
regs.SCMD = &(DMA(instance)->SCMD);
|
||||||
HDATA(a3000_host)->no_sync = 0xff;
|
HDATA(instance)->no_sync = 0xff;
|
||||||
HDATA(a3000_host)->fast = 0;
|
HDATA(instance)->fast = 0;
|
||||||
HDATA(a3000_host)->dma_mode = CTRL_DMA;
|
HDATA(instance)->dma_mode = CTRL_DMA;
|
||||||
wd33c93_init(instance, regs, dma_setup, dma_stop,
|
wd33c93_init(instance, regs, dma_setup, dma_stop,
|
||||||
(epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10
|
(epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10
|
||||||
: WD33C93_FS_12_15);
|
: WD33C93_FS_12_15);
|
||||||
|
|
|
@ -82,9 +82,9 @@ int mvme147_detect(struct scsi_host_template *tpnt)
|
||||||
mvme147_host->irq = MVME147_IRQ_SCSI_PORT;
|
mvme147_host->irq = MVME147_IRQ_SCSI_PORT;
|
||||||
regs.SASR = (volatile unsigned char *)0xfffe4000;
|
regs.SASR = (volatile unsigned char *)0xfffe4000;
|
||||||
regs.SCMD = (volatile unsigned char *)0xfffe4001;
|
regs.SCMD = (volatile unsigned char *)0xfffe4001;
|
||||||
HDATA(a3000_host)->no_sync = 0xff;
|
HDATA(mvme147_host)->no_sync = 0xff;
|
||||||
HDATA(a3000_host)->fast = 0;
|
HDATA(mvme147_host)->fast = 0;
|
||||||
HDATA(a3000_host)->dma_mode = CTRL_DMA;
|
HDATA(mvme147_host)->dma_mode = CTRL_DMA;
|
||||||
wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
|
wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
|
||||||
|
|
||||||
if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr))
|
if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr))
|
||||||
|
|
Loading…
Reference in a new issue