2 * Detection routine for the NCR53c710 based MVME16x SCSI Controllers for Linux.
4 * Based on work by Alan Hourihane
6 #include <linux/types.h>
9 #include <linux/sched.h>
10 #include <linux/version.h>
11 #include <linux/zorro.h>
13 #include <asm/setup.h>
15 #include <asm/pgtable.h>
16 #include <asm/bvme6000hw.h>
24 #include<linux/stat.h>
27 int bvme6000_scsi_detect(Scsi_Host_Template *tpnt)
29 static unsigned char called = 0;
35 if (!MACH_IS_BVME6000)
38 tpnt->proc_name = "BVME6000";
40 options = OPTION_MEMORY_MAPPED|OPTION_DEBUG_TEST1|OPTION_INTFLY|OPTION_SYNCHRONOUS|OPTION_ALWAYS_SYNCHRONOUS|OPTION_DISCONNECT;
42 clock = 40000000; /* 66MHz SCSI Clock */
44 ncr53c7xx_init(tpnt, 0, 710, (u32)BVME_NCR53C710_BASE,
45 0, BVME_IRQ_SCSI, DMA_NONE,
51 static Scsi_Host_Template driver_template = BVME6000_SCSI;
52 #include "scsi_module.c"