diff options
Diffstat (limited to 'drivers/scsi/isci/remote_device.h')
-rw-r--r-- | drivers/scsi/isci/remote_device.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/scsi/isci/remote_device.h b/drivers/scsi/isci/remote_device.h index 57ccfc3d6ad3..483ee50152f3 100644 --- a/drivers/scsi/isci/remote_device.h +++ b/drivers/scsi/isci/remote_device.h | |||
@@ -132,10 +132,7 @@ void isci_remote_device_nuke_requests(struct isci_host *ihost, | |||
132 | struct isci_remote_device *idev); | 132 | struct isci_remote_device *idev); |
133 | void isci_remote_device_gone(struct domain_device *domain_dev); | 133 | void isci_remote_device_gone(struct domain_device *domain_dev); |
134 | int isci_remote_device_found(struct domain_device *domain_dev); | 134 | int isci_remote_device_found(struct domain_device *domain_dev); |
135 | bool isci_device_is_reset_pending(struct isci_host *ihost, | 135 | |
136 | struct isci_remote_device *idev); | ||
137 | void isci_device_clear_reset_pending(struct isci_host *ihost, | ||
138 | struct isci_remote_device *idev); | ||
139 | /** | 136 | /** |
140 | * sci_remote_device_stop() - This method will stop both transmission and | 137 | * sci_remote_device_stop() - This method will stop both transmission and |
141 | * reception of link activity for the supplied remote device. This method | 138 | * reception of link activity for the supplied remote device. This method |
@@ -244,6 +241,15 @@ enum sci_remote_device_states { | |||
244 | SCI_STP_DEV_NCQ_ERROR, | 241 | SCI_STP_DEV_NCQ_ERROR, |
245 | 242 | ||
246 | /** | 243 | /** |
244 | * This is the ATAPI error state for the STP ATAPI remote device. | ||
245 | * This state is entered when ATAPI device sends error status FIS | ||
246 | * without data while the device object is in CMD state. | ||
247 | * A suspension event is expected in this state. | ||
248 | * The device object will resume right away. | ||
249 | */ | ||
250 | SCI_STP_DEV_ATAPI_ERROR, | ||
251 | |||
252 | /** | ||
247 | * This is the READY substate indicates the device is waiting for the RESET task | 253 | * This is the READY substate indicates the device is waiting for the RESET task |
248 | * coming to be recovered from certain hardware specific error. | 254 | * coming to be recovered from certain hardware specific error. |
249 | */ | 255 | */ |