isci: Removing unused define SCIC_SDS_4_ENABLED
Dave Jiang [Fri, 22 Apr 2011 06:39:48 +0000 (06:39 +0000)]
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

drivers/scsi/isci/Makefile
drivers/scsi/isci/core/intel_sas.h
drivers/scsi/isci/core/sci_controller_constants.h

index c27d259..78ba0fc 100644 (file)
@@ -1,7 +1,3 @@
-#TODO kill SCIC_SDS_4_ENABLED it is always true for this
-#generation of silicon
-EXTRA_CFLAGS += -DSCIC_SDS_4_ENABLED
-
 EXTRA_CFLAGS += -Idrivers/scsi/isci/core/ -Idrivers/scsi/isci/
 obj-$(CONFIG_SCSI_ISCI) += isci.o
 isci-objs := init.o phy.o request.o sata.o \
index b57f39c..c12e6d4 100644 (file)
@@ -151,7 +151,6 @@ struct sci_sas_identify_address_frame {
  */
 struct sas_capabilities {
        union {
-#if defined (SCIC_SDS_4_ENABLED)
                struct {
                        /**
                         * The SAS specification indicates the start bit shall always be set to
@@ -172,7 +171,6 @@ struct sas_capabilities {
                        u32 reserved2:17;
                        u32 parity:1;
                } bits;
-#endif          /* (SCIC_SDS_4_ENABLED) */
 
                u32 all;
        } u;
index 06c34c7..2525c26 100644 (file)
@@ -65,9 +65,6 @@
  *
  */
 
-
-#ifdef SCIC_SDS_4_ENABLED
-
 #ifndef SCI_MAX_PHYS
 /**
  *
 #define SCI_MIN_SCATTER_GATHER_ELEMENTS 1
 #endif
 
-#else /* SCIC_SDS_4_ENABLED */
-
-#error "SCI Core configuration left unspecified (e.g. SCIC_SDS_4_ENABLED)"
-
-#endif /* SCIC_SDS_4_ENABLED */
-
 /**
  *
  *