a2091.c (c58310bf4933986513020fa90b4190c7492995ae) | a2091.c (be3cb3d84bb8dffecb7c5570355866075caa7e95) |
---|---|
1#include <linux/types.h> 2#include <linux/mm.h> 3#include <linux/blkdev.h> 4#include <linux/init.h> 5#include <linux/interrupt.h> 6 7#include <asm/setup.h> 8#include <asm/page.h> --- 165 unchanged lines hidden (view full) --- 174 continue; 175 } 176 instance->base = ZTWO_VADDR(address); 177 instance->irq = IRQ_AMIGA_PORTS; 178 instance->unique_id = z->slotaddr; 179 DMA(instance)->DAWR = DAWR_A2091; 180 regs.SASR = &(DMA(instance)->SASR); 181 regs.SCMD = &(DMA(instance)->SCMD); | 1#include <linux/types.h> 2#include <linux/mm.h> 3#include <linux/blkdev.h> 4#include <linux/init.h> 5#include <linux/interrupt.h> 6 7#include <asm/setup.h> 8#include <asm/page.h> --- 165 unchanged lines hidden (view full) --- 174 continue; 175 } 176 instance->base = ZTWO_VADDR(address); 177 instance->irq = IRQ_AMIGA_PORTS; 178 instance->unique_id = z->slotaddr; 179 DMA(instance)->DAWR = DAWR_A2091; 180 regs.SASR = &(DMA(instance)->SASR); 181 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 wd33c93_init(instance, regs, dma_setup, dma_stop, WD33C93_FS_8_10); 183 request_irq(IRQ_AMIGA_PORTS, a2091_intr, IRQF_SHARED, "A2091 SCSI", 184 instance); 185 DMA(instance)->CNTR = CNTR_PDMD | CNTR_INTEN; 186 num_a2091++; 187 } 188 189 return num_a2091; --- 49 unchanged lines hidden --- | 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", 187 instance); 188 DMA(instance)->CNTR = CNTR_PDMD | CNTR_INTEN; 189 num_a2091++; 190 } 191 192 return num_a2091; --- 49 unchanged lines hidden --- |