Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a579dab1 authored by James Bottomley's avatar James Bottomley
Browse files

[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: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 8dea0d02
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);
+3 −3
Original line number Diff line number Diff line
@@ -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);
+3 −3
Original line number Diff line number Diff line
@@ -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))