summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gvp11.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-01 05:06:50 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 19:19:07 +0200
commita579dab1c19104fe82e864513cb17c6803dd7840 (patch)
treea71f6b75da88c027937bca3afe2ef97990e1eaaa /drivers/scsi/gvp11.c
parent[SCSI] scsi_debug: remove unnecessary function declarations (diff)
downloadlinux-a579dab1c19104fe82e864513cb17c6803dd7840.tar.xz
linux-a579dab1c19104fe82e864513cb17c6803dd7840.zip
[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/gvp11.c')
-rw-r--r--drivers/scsi/gvp11.c6
1 files changed, 3 insertions, 3 deletions
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)
*/
regs.SASR = &(DMA(instance)->SASR);
regs.SCMD = &(DMA(instance)->SCMD);
- HDATA(a3000_host)->no_sync = 0xff;
- HDATA(a3000_host)->fast = 0;
- HDATA(a3000_host)->dma_mode = CTRL_DMA;
+ HDATA(instance)->no_sync = 0xff;
+ HDATA(instance)->fast = 0;
+ HDATA(instance)->dma_mode = CTRL_DMA;
wd33c93_init(instance, regs, dma_setup, dma_stop,
(epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10
: WD33C93_FS_12_15);