diff options
author | Dave Jiang <dave.jiang@intel.com> | 2011-04-22 02:39:48 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:45 -0400 |
commit | d6f6404c038b004fdb93f0676db934d69c524f7e (patch) | |
tree | 1cb9faa2efcd100ac7f4c30f8bf3e61c89c75913 | |
parent | 971cc2ff90875a4ca28b7da5b91a408cc8151fdc (diff) |
isci: Removing unused define SCIC_SDS_4_ENABLED
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r-- | drivers/scsi/isci/Makefile | 4 | ||||
-rw-r--r-- | drivers/scsi/isci/core/intel_sas.h | 2 | ||||
-rw-r--r-- | drivers/scsi/isci/core/sci_controller_constants.h | 9 |
3 files changed, 0 insertions, 15 deletions
diff --git a/drivers/scsi/isci/Makefile b/drivers/scsi/isci/Makefile index c27d25999123..78ba0fc3548a 100644 --- a/drivers/scsi/isci/Makefile +++ b/drivers/scsi/isci/Makefile | |||
@@ -1,7 +1,3 @@ | |||
1 | #TODO kill SCIC_SDS_4_ENABLED it is always true for this | ||
2 | #generation of silicon | ||
3 | EXTRA_CFLAGS += -DSCIC_SDS_4_ENABLED | ||
4 | |||
5 | EXTRA_CFLAGS += -Idrivers/scsi/isci/core/ -Idrivers/scsi/isci/ | 1 | EXTRA_CFLAGS += -Idrivers/scsi/isci/core/ -Idrivers/scsi/isci/ |
6 | obj-$(CONFIG_SCSI_ISCI) += isci.o | 2 | obj-$(CONFIG_SCSI_ISCI) += isci.o |
7 | isci-objs := init.o phy.o request.o sata.o \ | 3 | isci-objs := init.o phy.o request.o sata.o \ |
diff --git a/drivers/scsi/isci/core/intel_sas.h b/drivers/scsi/isci/core/intel_sas.h index b57f39c2cfc2..c12e6d4f4d7d 100644 --- a/drivers/scsi/isci/core/intel_sas.h +++ b/drivers/scsi/isci/core/intel_sas.h | |||
@@ -151,7 +151,6 @@ struct sci_sas_identify_address_frame { | |||
151 | */ | 151 | */ |
152 | struct sas_capabilities { | 152 | struct sas_capabilities { |
153 | union { | 153 | union { |
154 | #if defined (SCIC_SDS_4_ENABLED) | ||
155 | struct { | 154 | struct { |
156 | /** | 155 | /** |
157 | * The SAS specification indicates the start bit shall always be set to | 156 | * The SAS specification indicates the start bit shall always be set to |
@@ -172,7 +171,6 @@ struct sas_capabilities { | |||
172 | u32 reserved2:17; | 171 | u32 reserved2:17; |
173 | u32 parity:1; | 172 | u32 parity:1; |
174 | } bits; | 173 | } bits; |
175 | #endif /* (SCIC_SDS_4_ENABLED) */ | ||
176 | 174 | ||
177 | u32 all; | 175 | u32 all; |
178 | } u; | 176 | } u; |
diff --git a/drivers/scsi/isci/core/sci_controller_constants.h b/drivers/scsi/isci/core/sci_controller_constants.h index 06c34c7bdd5f..2525c26d7c08 100644 --- a/drivers/scsi/isci/core/sci_controller_constants.h +++ b/drivers/scsi/isci/core/sci_controller_constants.h | |||
@@ -65,9 +65,6 @@ | |||
65 | * | 65 | * |
66 | */ | 66 | */ |
67 | 67 | ||
68 | |||
69 | #ifdef SCIC_SDS_4_ENABLED | ||
70 | |||
71 | #ifndef SCI_MAX_PHYS | 68 | #ifndef SCI_MAX_PHYS |
72 | /** | 69 | /** |
73 | * | 70 | * |
@@ -188,12 +185,6 @@ | |||
188 | #define SCI_MIN_SCATTER_GATHER_ELEMENTS 1 | 185 | #define SCI_MIN_SCATTER_GATHER_ELEMENTS 1 |
189 | #endif | 186 | #endif |
190 | 187 | ||
191 | #else /* SCIC_SDS_4_ENABLED */ | ||
192 | |||
193 | #error "SCI Core configuration left unspecified (e.g. SCIC_SDS_4_ENABLED)" | ||
194 | |||
195 | #endif /* SCIC_SDS_4_ENABLED */ | ||
196 | |||
197 | /** | 188 | /** |
198 | * | 189 | * |
199 | * | 190 | * |