diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 20:21:28 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 03:11:15 -0500 |
commit | 0d31f8759109cbc1e6fc196d08e6b0e8a9e93b3f (patch) | |
tree | 0242252808935d73935d5132275f3920936ca394 /drivers/scsi/sun3_scsi.h | |
parent | 4e705205252ffc6979b938ab10facf765692f5cf (diff) |
sun3_scsi: Convert to platform device
Convert sun3_scsi to platform device and eliminate scsi_register().
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/sun3_scsi.h')
-rw-r--r-- | drivers/scsi/sun3_scsi.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/scsi/sun3_scsi.h b/drivers/scsi/sun3_scsi.h index f2f16378f9fa..653aab113a21 100644 --- a/drivers/scsi/sun3_scsi.h +++ b/drivers/scsi/sun3_scsi.h | |||
@@ -18,25 +18,8 @@ | |||
18 | #ifndef SUN3_SCSI_H | 18 | #ifndef SUN3_SCSI_H |
19 | #define SUN3_SCSI_H | 19 | #define SUN3_SCSI_H |
20 | 20 | ||
21 | /* | ||
22 | * Int: level 2 autovector | ||
23 | * IO: type 1, base 0x00140000, 5 bits phys space: A<4..0> | ||
24 | */ | ||
25 | #define IRQ_SUN3_SCSI 2 | ||
26 | #define IOBASE_SUN3_SCSI 0x00140000 | ||
27 | |||
28 | #define IOBASE_SUN3_VMESCSI 0xff200000 | ||
29 | |||
30 | #define MAX_TAGS 32 | 21 | #define MAX_TAGS 32 |
31 | 22 | ||
32 | #include <scsi/scsicam.h> | ||
33 | |||
34 | #ifdef SUN3_SCSI_VME | ||
35 | #define SUN3_SCSI_NAME "Sun3 NCR5380 VME SCSI" | ||
36 | #else | ||
37 | #define SUN3_SCSI_NAME "Sun3 NCR5380 SCSI" | ||
38 | #endif | ||
39 | |||
40 | #define NCR5380_implementation_fields /* none */ | 23 | #define NCR5380_implementation_fields /* none */ |
41 | 24 | ||
42 | #define NCR5380_local_declare() \ | 25 | #define NCR5380_local_declare() \ |