summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/remote_device.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-04-26 19:31:37 (GMT)
committerDan Williams <dan.j.williams@intel.com>2011-07-03 11:00:38 (GMT)
commit3d6e428c0cd8d234bab0ac93aff9ccffacc8bc7e (patch)
tree7184ff4ef4e5420e1f8bd06ec6676c59c9dd6ba5 /drivers/scsi/isci/remote_device.h
parent1f4fa1f958ca678ea021b95c2799b018b2cebc9c (diff)
downloadlinux-fsl-qoriq-3d6e428c0cd8d234bab0ac93aff9ccffacc8bc7e.tar.xz
isci: removing non-working ATAPI code
Removing not used / bit-rotten ATAPI code. This needs to go back and debugged at a later date. Signed-off-by: Dave Jiang <dave.jiang@intel.com> [reflow against devel, delete dead sati headers] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/remote_device.h')
-rw-r--r--drivers/scsi/isci/remote_device.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/drivers/scsi/isci/remote_device.h b/drivers/scsi/isci/remote_device.h
index 5b82b9f..5cceb6c 100644
--- a/drivers/scsi/isci/remote_device.h
+++ b/drivers/scsi/isci/remote_device.h
@@ -105,14 +105,6 @@ struct scic_sds_remote_device {
*/
bool is_direct_attached;
-#if !defined(DISABLE_ATAPI)
- /**
- * This filed is assinged the value of true if the device is an ATAPI
- * device.
- */
- bool is_atapi;
-#endif
-
/**
* This filed contains a pointer back to the port to which this device
* is assigned.
@@ -254,22 +246,7 @@ enum sci_status scic_remote_device_reset_complete(
enum sas_linkrate scic_remote_device_get_connection_rate(
struct scic_sds_remote_device *remote_device);
-#if !defined(DISABLE_ATAPI)
-/**
- * scic_remote_device_is_atapi() -
- * @this_device: The device whose type is to be decided.
- *
- * This method first decide whether a device is a stp target, then decode the
- * signature fis of a DA STP device to tell whether it is a standard end disk
- * or an ATAPI device. bool Indicate a device is ATAPI device or not.
- */
-bool scic_remote_device_is_atapi(
- struct scic_sds_remote_device *device_handle);
-#else /* !defined(DISABLE_ATAPI) */
#define scic_remote_device_is_atapi(device_handle) false
-#endif /* !defined(DISABLE_ATAPI) */
-
-
/**
* enum scic_sds_remote_device_states - This enumeration depicts all the states
@@ -405,16 +382,6 @@ enum scic_sds_stp_remote_device_ready_substates {
*/
SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ_ERROR,
-#if !defined(DISABLE_ATAPI)
- /**
- * This is the ATAPI error state for the STP ATAPI remote device. This state is
- * entered when ATAPI device sends error status FIS without data while the device
- * object is in CMD state. A suspension event is expected in this state. The device
- * object will resume right away.
- */
- SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_ATAPI_ERROR,
-#endif
-
/**
* This is the READY substate indicates the device is waiting for the RESET task
* coming to be recovered from certain hardware specific error.
@@ -727,12 +694,7 @@ void scic_sds_remote_device_post_request(
struct scic_sds_remote_device *sci_dev,
u32 request);
-#if !defined(DISABLE_ATAPI)
-bool scic_sds_remote_device_is_atapi(
- struct scic_sds_remote_device *sci_dev);
-#else /* !defined(DISABLE_ATAPI) */
#define scic_sds_remote_device_is_atapi(sci_dev) false
-#endif /* !defined(DISABLE_ATAPI) */
void scic_sds_remote_device_start_request(
struct scic_sds_remote_device *sci_dev,