]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
isci: Removing unused define SCIC_SDS_4_ENABLED
authorDave Jiang <dave.jiang@intel.com>
Fri, 22 Apr 2011 06:39:48 +0000 (06:39 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:45 +0000 (04:04 -0700)
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 c27d2599912369d1ae06b8e4b185b85f141de0c2..78ba0fc3548aa0ed4a205756994c5fe05706cc71 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 b57f39c2cfc216d6cb19a42eea49567c6d2121bd..c12e6d4f4d7d5ba3d6fb9baee173568efecef1ea 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 06c34c7bdd5f1486d3d434a0c4b696afd4b5fe3c..2525c26d7c08218f358cff8dbb7f354b574918c2 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 */
-
 /**
  *
  *