summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_scsi.h
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2014-11-12 16:12:00 +1100
committerChristoph Hellwig <hch@lst.de>2014-11-20 09:11:09 +0100
commitd572f65fdf78a6dcb55b86ad8684f88830bf2e08 (patch)
treec2a690e481eabd36133589b0bd26d16e640dcf3a /drivers/scsi/sun3_scsi.h
parenta9c2dc43c14cc9e9333d451bc4db8a827a695332 (diff)
downloadtalos-obmc-linux-d572f65fdf78a6dcb55b86ad8684f88830bf2e08.tar.gz
talos-obmc-linux-d572f65fdf78a6dcb55b86ad8684f88830bf2e08.zip
ncr5380: Remove pointless compiler command line override macros
Compile-time override of scsi host defaults is pointless for drivers that provide module parameters and __setup options for that. Too many macros make the code hard to read so remove them. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.de> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/sun3_scsi.h')
-rw-r--r--drivers/scsi/sun3_scsi.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/scsi/sun3_scsi.h b/drivers/scsi/sun3_scsi.h
index 3b8a05ca3625..d616c9539cec 100644
--- a/drivers/scsi/sun3_scsi.h
+++ b/drivers/scsi/sun3_scsi.h
@@ -31,25 +31,7 @@
#define IOBASE_SUN3_VMESCSI 0xff200000
-#ifndef CMD_PER_LUN
-#define CMD_PER_LUN 2
-#endif
-
-#ifndef CAN_QUEUE
-#define CAN_QUEUE 16
-#endif
-
-#ifndef SG_TABLESIZE
-#define SG_TABLESIZE SG_NONE
-#endif
-
-#ifndef MAX_TAGS
#define MAX_TAGS 32
-#endif
-
-#ifndef USE_TAGGED_QUEUING
-#define USE_TAGGED_QUEUING 1
-#endif
#include <scsi/scsicam.h>
OpenPOWER on IntegriCloud