diff options
author | Matthew Wilcox <matthew@wil.cx> | 2005-05-20 14:15:43 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-05-26 09:41:14 -0400 |
commit | 53222b906903fd861dc24ebccfa07ee125941313 (patch) | |
tree | a39e9a20718d01b67e89c14baa0e11411643c993 /drivers/scsi/sym53c8xx_2/sym_glue.h | |
parent | 7c00ffa314bf0fb0e23858bbebad33b48b6abbb9 (diff) |
[SCSI] sym2 version 2.2.1
sym2 version 2.2.1:
- Fix MMIO BAR detection (Thanks to Bob Picco)
- Fix odd-sized transfers with a wide bus (Thanks to Larry Stephens)
- Write posting fixes (Thanks to Thibaut Varene)
- Change one of the GFP_KERNEL allocations back into a GFP_ATOMIC
- Make CCB_BA() return a script-endian address
- Move range checks and disabling of devices from the queuecommand path
to slave_alloc()
- Remove a warning in sym_setup_cdb()
- Keep a pointer to the scsi_target instead of the scsi_dev in the tcb
- Remove a check for the upper layers passing an oversized cmd
- Replace CAM_REQ_ constants with the Linux DID_ constants
- Replace CAM_DIR_ constants with the Linux DMA_ constants
- Inline sym_read_parisc_pdc() on non-parisc systems
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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 e943f167fb51..d3d52f14d7c0 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 | */ |