diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-03-31 23:06:50 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:07 -0400 |
commit | a579dab1c19104fe82e864513cb17c6803dd7840 (patch) | |
tree | a71f6b75da88c027937bca3afe2ef97990e1eaaa /drivers/scsi | |
parent | 8dea0d02f8bb7103ec0818bd2e856f30f2d1bcf1 (diff) |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/a2091.c | 6 | ||||
-rw-r--r-- | drivers/scsi/gvp11.c | 6 | ||||
-rw-r--r-- | drivers/scsi/mvme147.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index 1d1bb2516172..07d572feceed 100644 --- a/drivers/scsi/a2091.c +++ b/drivers/scsi/a2091.c | |||
@@ -179,9 +179,9 @@ int __init a2091_detect(struct scsi_host_template *tpnt) | |||
179 | DMA(instance)->DAWR = DAWR_A2091; | 179 | DMA(instance)->DAWR = DAWR_A2091; |
180 | regs.SASR = &(DMA(instance)->SASR); | 180 | regs.SASR = &(DMA(instance)->SASR); |
181 | regs.SCMD = &(DMA(instance)->SCMD); | 181 | regs.SCMD = &(DMA(instance)->SCMD); |
182 | HDATA(a3000_host)->no_sync = 0xff; | 182 | HDATA(instance)->no_sync = 0xff; |
183 | HDATA(a3000_host)->fast = 0; | 183 | HDATA(instance)->fast = 0; |
184 | HDATA(a3000_host)->dma_mode = CTRL_DMA; | 184 | HDATA(instance)->dma_mode = CTRL_DMA; |
185 | wd33c93_init(instance, regs, dma_setup, dma_stop, WD33C93_FS_8_10); | 185 | wd33c93_init(instance, regs, dma_setup, dma_stop, WD33C93_FS_8_10); |
186 | request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED, "A2091 SCSI", | 186 | request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED, "A2091 SCSI", |
187 | instance); | 187 | instance); |
diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c index e75a7ba57a3a..ca7363752401 100644 --- a/drivers/scsi/gvp11.c +++ b/drivers/scsi/gvp11.c | |||
@@ -322,9 +322,9 @@ int __init gvp11_detect(struct scsi_host_template *tpnt) | |||
322 | */ | 322 | */ |
323 | regs.SASR = &(DMA(instance)->SASR); | 323 | regs.SASR = &(DMA(instance)->SASR); |
324 | regs.SCMD = &(DMA(instance)->SCMD); | 324 | regs.SCMD = &(DMA(instance)->SCMD); |
325 | HDATA(a3000_host)->no_sync = 0xff; | 325 | HDATA(instance)->no_sync = 0xff; |
326 | HDATA(a3000_host)->fast = 0; | 326 | HDATA(instance)->fast = 0; |
327 | HDATA(a3000_host)->dma_mode = CTRL_DMA; | 327 | HDATA(instance)->dma_mode = CTRL_DMA; |
328 | wd33c93_init(instance, regs, dma_setup, dma_stop, | 328 | wd33c93_init(instance, regs, dma_setup, dma_stop, |
329 | (epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10 | 329 | (epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10 |
330 | : WD33C93_FS_12_15); | 330 | : WD33C93_FS_12_15); |
diff --git a/drivers/scsi/mvme147.c b/drivers/scsi/mvme147.c index 6a8cf179a1f1..d722235111a8 100644 --- a/drivers/scsi/mvme147.c +++ b/drivers/scsi/mvme147.c | |||
@@ -82,9 +82,9 @@ int mvme147_detect(struct scsi_host_template *tpnt) | |||
82 | mvme147_host->irq = MVME147_IRQ_SCSI_PORT; | 82 | mvme147_host->irq = MVME147_IRQ_SCSI_PORT; |
83 | regs.SASR = (volatile unsigned char *)0xfffe4000; | 83 | regs.SASR = (volatile unsigned char *)0xfffe4000; |
84 | regs.SCMD = (volatile unsigned char *)0xfffe4001; | 84 | regs.SCMD = (volatile unsigned char *)0xfffe4001; |
85 | HDATA(a3000_host)->no_sync = 0xff; | 85 | HDATA(mvme147_host)->no_sync = 0xff; |
86 | HDATA(a3000_host)->fast = 0; | 86 | HDATA(mvme147_host)->fast = 0; |
87 | HDATA(a3000_host)->dma_mode = CTRL_DMA; | 87 | HDATA(mvme147_host)->dma_mode = CTRL_DMA; |
88 | wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10); | 88 | wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10); |
89 | 89 | ||
90 | if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr)) | 90 | if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr)) |