Commit d0d22efb authored by Finn Thain's avatar Finn Thain Committed by Christoph Hellwig

scsi/NCR5380: remove unused BOARD_NORMAL and BOARD_NCR53C400

BOARD_NORMAL is completely unused and BOARD_NCR53C400 is used only by
g_NCR5380 internally. Remove the unused definitions.
Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
Acked-by: default avatarSam Creasey <sammy@sammy.net>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent b57d7c01
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
void __iomem *base; \ void __iomem *base; \
void __iomem *dma void __iomem *dma
#define BOARD_NORMAL 0
#define BOARD_NCR53C400 1
#include "../NCR5380.h" #include "../NCR5380.h"
void cumanascsi_setup(char *str, int *ints) void cumanascsi_setup(char *str, int *ints)
......
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#define NCR5380_implementation_fields \ #define NCR5380_implementation_fields \
void __iomem *base void __iomem *base
#define BOARD_NORMAL 0
#define BOARD_NCR53C400 1
#include "../NCR5380.h" #include "../NCR5380.h"
#undef START_DMA_INITIATOR_RECEIVE_REG #undef START_DMA_INITIATOR_RECEIVE_REG
......
...@@ -75,9 +75,6 @@ ...@@ -75,9 +75,6 @@
#define NCR5380_show_info macscsi_show_info #define NCR5380_show_info macscsi_show_info
#define NCR5380_write_info macscsi_write_info #define NCR5380_write_info macscsi_write_info
#define BOARD_NORMAL 0
#define BOARD_NCR53C400 1
#endif /* ndef HOSTS_C */ #endif /* ndef HOSTS_C */
#endif /* ndef ASM */ #endif /* ndef ASM */
#endif /* MAC_NCR5380_H */ #endif /* MAC_NCR5380_H */
......
...@@ -108,9 +108,6 @@ static int sun3scsi_release (struct Scsi_Host *); ...@@ -108,9 +108,6 @@ static int sun3scsi_release (struct Scsi_Host *);
#define NCR5380_dma_read_setup(instance, data, count) sun3scsi_dma_setup(data, count, 0) #define NCR5380_dma_read_setup(instance, data, count) sun3scsi_dma_setup(data, count, 0)
#define NCR5380_dma_residual sun3scsi_dma_residual #define NCR5380_dma_residual sun3scsi_dma_residual
#define BOARD_NORMAL 0
#define BOARD_NCR53C400 1
/* additional registers - mainly DMA control regs */ /* additional registers - mainly DMA control regs */
/* these start at regbase + 8 -- directly after the NCR regs */ /* these start at regbase + 8 -- directly after the NCR regs */
struct sun3_dma_regs { struct sun3_dma_regs {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment