diff options
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_glue.h')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.h b/drivers/scsi/sym53c8xx_2/sym_glue.h index e943f167fb5..d3d52f14d7c 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.h +++ b/drivers/scsi/sym53c8xx_2/sym_glue.h | |||
@@ -142,33 +142,6 @@ | |||
142 | #define scr_to_cpu(dw) le32_to_cpu(dw) | 142 | #define scr_to_cpu(dw) le32_to_cpu(dw) |
143 | 143 | ||
144 | /* | 144 | /* |
145 | * Remap some status field values. | ||
146 | */ | ||
147 | #define CAM_REQ_CMP DID_OK | ||
148 | #define CAM_SEL_TIMEOUT DID_NO_CONNECT | ||
149 | #define CAM_CMD_TIMEOUT DID_TIME_OUT | ||
150 | #define CAM_REQ_ABORTED DID_ABORT | ||
151 | #define CAM_UNCOR_PARITY DID_PARITY | ||
152 | #define CAM_SCSI_BUS_RESET DID_RESET | ||
153 | #define CAM_REQUEUE_REQ DID_SOFT_ERROR | ||
154 | #define CAM_UNEXP_BUSFREE DID_ERROR | ||
155 | #define CAM_SCSI_BUSY DID_BUS_BUSY | ||
156 | |||
157 | #define CAM_DEV_NOT_THERE DID_NO_CONNECT | ||
158 | #define CAM_REQ_INVALID DID_ERROR | ||
159 | #define CAM_REQ_TOO_BIG DID_ERROR | ||
160 | |||
161 | #define CAM_RESRC_UNAVAIL DID_ERROR | ||
162 | |||
163 | /* | ||
164 | * Remap data direction values. | ||
165 | */ | ||
166 | #define CAM_DIR_NONE DMA_NONE | ||
167 | #define CAM_DIR_IN DMA_FROM_DEVICE | ||
168 | #define CAM_DIR_OUT DMA_TO_DEVICE | ||
169 | #define CAM_DIR_UNKNOWN DMA_BIDIRECTIONAL | ||
170 | |||
171 | /* | ||
172 | * These ones are used as return code from | 145 | * These ones are used as return code from |
173 | * error recovery handlers under Linux. | 146 | * error recovery handlers under Linux. |
174 | */ | 147 | */ |