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>
13 #include <asm/pgtable.h>
14 #include <asm/mvme16xhw.h>
22 #include<linux/stat.h>
24 extern ncr53c7xx_init (Scsi_Host_Template
*tpnt
, int board
, int chip
,
25 u32 base
, int io_port
, int irq
, int dma
,
26 long long options
, int clock
);
28 int mvme16x_scsi_detect(Scsi_Host_Template
*tpnt
)
30 static unsigned char called
= 0;
36 if (mvme16x_config
& MVME16x_CONFIG_NO_SCSICHIP
) {
37 printk ("SCSI detection disabled, SCSI chip not present\n");
43 tpnt
->proc_name
= "MVME16x";
45 options
= OPTION_MEMORY_MAPPED
|OPTION_DEBUG_TEST1
|OPTION_INTFLY
|OPTION_SYNCHRONOUS
|OPTION_ALWAYS_SYNCHRONOUS
|OPTION_DISCONNECT
;
47 clock
= 66000000; /* 66MHz SCSI Clock */
49 ncr53c7xx_init(tpnt
, 0, 710, (u32
)0xfff47000,
50 0, MVME16x_IRQ_SCSI
, DMA_NONE
,