Skip to content

Commit a579dab

Browse files
committed
[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>
1 parent 8dea0d0 commit a579dab

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎drivers/scsi/a2091.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ int __init a2091_detect(struct scsi_host_template *tpnt)
179179
DMA(instance)->DAWR = DAWR_A2091;
180180
regs.SASR = &(DMA(instance)->SASR);
181181
regs.SCMD = &(DMA(instance)->SCMD);
182-
HDATA(a3000_host)->no_sync = 0xff;
183-
HDATA(a3000_host)->fast = 0;
184-
HDATA(a3000_host)->dma_mode = CTRL_DMA;
182+
HDATA(instance)->no_sync = 0xff;
183+
HDATA(instance)->fast = 0;
184+
HDATA(instance)->dma_mode = CTRL_DMA;
185185
wd33c93_init(instance, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
186186
request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED, "A2091 SCSI",
187187
instance);

‎drivers/scsi/gvp11.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,9 @@ int __init gvp11_detect(struct scsi_host_template *tpnt)
322322
*/
323323
regs.SASR = &(DMA(instance)->SASR);
324324
regs.SCMD = &(DMA(instance)->SCMD);
325-
HDATA(a3000_host)->no_sync = 0xff;
326-
HDATA(a3000_host)->fast = 0;
327-
HDATA(a3000_host)->dma_mode = CTRL_DMA;
325+
HDATA(instance)->no_sync = 0xff;
326+
HDATA(instance)->fast = 0;
327+
HDATA(instance)->dma_mode = CTRL_DMA;
328328
wd33c93_init(instance, regs, dma_setup, dma_stop,
329329
(epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10
330330
: WD33C93_FS_12_15);

‎drivers/scsi/mvme147.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ int mvme147_detect(struct scsi_host_template *tpnt)
8282
mvme147_host->irq = MVME147_IRQ_SCSI_PORT;
8383
regs.SASR = (volatile unsigned char *)0xfffe4000;
8484
regs.SCMD = (volatile unsigned char *)0xfffe4001;
85-
HDATA(a3000_host)->no_sync = 0xff;
86-
HDATA(a3000_host)->fast = 0;
87-
HDATA(a3000_host)->dma_mode = CTRL_DMA;
85+
HDATA(mvme147_host)->no_sync = 0xff;
86+
HDATA(mvme147_host)->fast = 0;
87+
HDATA(mvme147_host)->dma_mode = CTRL_DMA;
8888
wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
8989

9090
if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr))

0 commit comments

Comments
 (0)