mvme147.c (5a84d159061d914c8dd4aa372ac6e9529c2be453) | mvme147.c (be3cb3d84bb8dffecb7c5570355866075caa7e95) |
---|---|
1#include <linux/types.h> 2#include <linux/mm.h> 3#include <linux/blkdev.h> 4#include <linux/interrupt.h> 5 6#include <asm/page.h> 7#include <asm/pgtable.h> 8#include <asm/mvme147hw.h> --- 68 unchanged lines hidden (view full) --- 77 mvme147_host = scsi_register (tpnt, sizeof(struct WD33C93_hostdata)); 78 if (!mvme147_host) 79 goto err_out; 80 81 mvme147_host->base = 0xfffe4000; 82 mvme147_host->irq = MVME147_IRQ_SCSI_PORT; 83 regs.SASR = (volatile unsigned char *)0xfffe4000; 84 regs.SCMD = (volatile unsigned char *)0xfffe4001; | 1#include <linux/types.h> 2#include <linux/mm.h> 3#include <linux/blkdev.h> 4#include <linux/interrupt.h> 5 6#include <asm/page.h> 7#include <asm/pgtable.h> 8#include <asm/mvme147hw.h> --- 68 unchanged lines hidden (view full) --- 77 mvme147_host = scsi_register (tpnt, sizeof(struct WD33C93_hostdata)); 78 if (!mvme147_host) 79 goto err_out; 80 81 mvme147_host->base = 0xfffe4000; 82 mvme147_host->irq = MVME147_IRQ_SCSI_PORT; 83 regs.SASR = (volatile unsigned char *)0xfffe4000; 84 regs.SCMD = (volatile unsigned char *)0xfffe4001; |
85 HDATA(a3000_host)->no_sync = 0xff; 86 HDATA(a3000_host)->fast = 0; 87 HDATA(a3000_host)->dma_mode = CTRL_DMA; |
|
85 wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10); 86 87 if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr)) 88 goto err_unregister; 89 if (request_irq(MVME147_IRQ_SCSI_DMA, mvme147_intr, 0, "MVME147 SCSI DMA", mvme147_intr)) 90 goto err_free_irq; 91#if 0 /* Disabled; causes problems booting */ 92 m147_pcc->scsi_interrupt = 0x10; /* Assert SCSI bus reset */ --- 68 unchanged lines hidden --- | 88 wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10); 89 90 if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr)) 91 goto err_unregister; 92 if (request_irq(MVME147_IRQ_SCSI_DMA, mvme147_intr, 0, "MVME147 SCSI DMA", mvme147_intr)) 93 goto err_free_irq; 94#if 0 /* Disabled; causes problems booting */ 95 m147_pcc->scsi_interrupt = 0x10; /* Assert SCSI bus reset */ --- 68 unchanged lines hidden --- |