diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 06:05:48 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 03:43:03 +0100 |
commit | aa2e2cb1dde0e72e039f94210fb17e73661a6351 (patch) | |
tree | 531b741244cc154f7a8ff7aa7b0c43fa01b93e92 /drivers/scsi/pas16.h | |
parent | ncr5380: Fix NDEBUG_NO_DATAOUT flag (diff) | |
download | linux-aa2e2cb1dde0e72e039f94210fb17e73661a6351.tar.xz linux-aa2e2cb1dde0e72e039f94210fb17e73661a6351.zip |
ncr5380: Fix and cleanup scsi_host_template initializers
Add missing .module initializer. Use distinct .proc_name values for the
g_NCR5380 and g_NCR5380_mmio modules. Remove pointless CAN_QUEUE and
CMD_PER_LUN override macros. Cleanup whitespace and code style.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pas16.h')
-rw-r--r-- | drivers/scsi/pas16.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/pas16.h b/drivers/scsi/pas16.h index a827a7c1c133..d37527717225 100644 --- a/drivers/scsi/pas16.h +++ b/drivers/scsi/pas16.h @@ -95,14 +95,6 @@ #define OPERATION_MODE_1 0xec03 #define IO_CONFIG_3 0xf002 -#ifndef CMD_PER_LUN -#define CMD_PER_LUN 2 -#endif - -#ifndef CAN_QUEUE -#define CAN_QUEUE 32 -#endif - #define NCR5380_implementation_fields /* none */ #define PAS16_io_port(reg) (instance->io_port + pas16_offset[(reg)]) |