]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] wd33c93: fix up cut and paste error
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 1 Apr 2008 03:06:50 +0000 (22:06 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:07 +0000 (12:19 -0500)
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>
drivers/scsi/a2091.c
drivers/scsi/gvp11.c
drivers/scsi/mvme147.c

index 1d1bb2516172a3a5bd0d41bc9e7c8b6d3e95df15..07d572feceed47d0ab56ae92dec83c3ae71564c3 100644 (file)
@@ -179,9 +179,9 @@ int __init a2091_detect(struct scsi_host_template *tpnt)
        DMA(instance)->DAWR = DAWR_A2091;
        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, WD33C93_FS_8_10);
        request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED, "A2091 SCSI",
                    instance);
index e75a7ba57a3a2aaa67553834d99b41dd23b9ef63..ca73637524012adbdeb4a7cad69558b7dd045430 100644 (file)
@@ -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);
index 6a8cf179a1f1004af71d489823ca97d9f77d2177..d722235111a8d317d052874b3a7ace4579bafd64 100644 (file)
@@ -82,9 +82,9 @@ int mvme147_detect(struct scsi_host_template *tpnt)
     mvme147_host->irq = MVME147_IRQ_SCSI_PORT;
     regs.SASR = (volatile unsigned char *)0xfffe4000;
     regs.SCMD = (volatile unsigned char *)0xfffe4001;
-    HDATA(a3000_host)->no_sync = 0xff;
-    HDATA(a3000_host)->fast = 0;
-    HDATA(a3000_host)->dma_mode = CTRL_DMA;
+    HDATA(mvme147_host)->no_sync = 0xff;
+    HDATA(mvme147_host)->fast = 0;
+    HDATA(mvme147_host)->dma_mode = CTRL_DMA;
     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))