diff options
author | Christoph Hellwig <hch@lst.de> | 2007-05-11 10:30:29 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-27 13:52:29 -0400 |
commit | 565bae6a4a8f16459e179ebf4421c1291cf88aa5 (patch) | |
tree | 7f15b5c57f51f32fedd72adf6e83e51c30a826a3 /drivers/scsi/bvme6000.c | |
parent | ddc914c741c1374dbb5fa288b5e283060c2a8488 (diff) |
[SCSI] 53c7xx: kill driver
It's been more than enough time now to try to get the new m68k drivers
into the tree. Let's remove the old ones and we can remerge the new
glue once it's ready. Given that there are patches to rename two out
of the three drivers in m68k CVS and all of them need a lot of
codingstyle love anyway that's probably the better strategy to begin
with.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Kars de Jong <jongk@linux-m68k.org>
Cc: linux-m68k@vger.kernel.org
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/bvme6000.c')
-rw-r--r-- | drivers/scsi/bvme6000.c | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/drivers/scsi/bvme6000.c b/drivers/scsi/bvme6000.c deleted file mode 100644 index 599b400a3c43..000000000000 --- a/drivers/scsi/bvme6000.c +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | /* | ||
2 | * Detection routine for the NCR53c710 based BVME6000 SCSI Controllers for Linux. | ||
3 | * | ||
4 | * Based on work by Alan Hourihane | ||
5 | */ | ||
6 | #include <linux/types.h> | ||
7 | #include <linux/mm.h> | ||
8 | #include <linux/blkdev.h> | ||
9 | #include <linux/zorro.h> | ||
10 | |||
11 | #include <asm/setup.h> | ||
12 | #include <asm/page.h> | ||
13 | #include <asm/pgtable.h> | ||
14 | #include <asm/bvme6000hw.h> | ||
15 | #include <asm/irq.h> | ||
16 | |||
17 | #include "scsi.h" | ||
18 | #include <scsi/scsi_host.h> | ||
19 | #include "53c7xx.h" | ||
20 | #include "bvme6000.h" | ||
21 | |||
22 | #include<linux/stat.h> | ||
23 | |||
24 | |||
25 | int bvme6000_scsi_detect(struct scsi_host_template *tpnt) | ||
26 | { | ||
27 | static unsigned char called = 0; | ||
28 | int clock; | ||
29 | long long options; | ||
30 | |||
31 | if (called) | ||
32 | return 0; | ||
33 | if (!MACH_IS_BVME6000) | ||
34 | return 0; | ||
35 | |||
36 | tpnt->proc_name = "BVME6000"; | ||
37 | |||
38 | options = OPTION_MEMORY_MAPPED|OPTION_DEBUG_TEST1|OPTION_INTFLY|OPTION_SYNCHRONOUS|OPTION_ALWAYS_SYNCHRONOUS|OPTION_DISCONNECT; | ||
39 | |||
40 | clock = 40000000; /* 66MHz SCSI Clock */ | ||
41 | |||
42 | ncr53c7xx_init(tpnt, 0, 710, (unsigned long)BVME_NCR53C710_BASE, | ||
43 | 0, BVME_IRQ_SCSI, DMA_NONE, | ||
44 | options, clock); | ||
45 | called = 1; | ||
46 | return 1; | ||
47 | } | ||
48 | |||
49 | static int bvme6000_scsi_release(struct Scsi_Host *shost) | ||
50 | { | ||
51 | if (shost->irq) | ||
52 | free_irq(shost->irq, NULL); | ||
53 | if (shost->dma_channel != 0xff) | ||
54 | free_dma(shost->dma_channel); | ||
55 | if (shost->io_port && shost->n_io_port) | ||
56 | release_region(shost->io_port, shost->n_io_port); | ||
57 | scsi_unregister(shost); | ||
58 | return 0; | ||
59 | } | ||
60 | |||
61 | static struct scsi_host_template driver_template = { | ||
62 | .name = "BVME6000 NCR53c710 SCSI", | ||
63 | .detect = bvme6000_scsi_detect, | ||
64 | .release = bvme6000_scsi_release, | ||
65 | .queuecommand = NCR53c7xx_queue_command, | ||
66 | .abort = NCR53c7xx_abort, | ||
67 | .reset = NCR53c7xx_reset, | ||
68 | .can_queue = 24, | ||
69 | .this_id = 7, | ||
70 | .sg_tablesize = 63, | ||
71 | .cmd_per_lun = 3, | ||
72 | .use_clustering = DISABLE_CLUSTERING | ||
73 | }; | ||
74 | |||
75 | |||
76 | #include "scsi_module.c" | ||