aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorWayne Boyer <wayneb@linux.vnet.ibm.com>2010-02-19 16:24:32 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-03-03 05:35:04 -0500
commit5aa3a333eaae1016f5a72f9e0e2dce39c08762f8 (patch)
tree05d16bca13203ffb5f3b11010ff0e83d6d58da1c /drivers/scsi/ipr.c
parent214777ba125e2902c9b84c764be38099c94d0bd2 (diff)
[SCSI] ipr: add support for new IOASCs
This patch adds support for new errors that can be received from adapters using the next generation 64 bit IOA PCI interface chip. Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r--drivers/scsi/ipr.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 10b162d607ac..7dc9fb1e14e3 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -222,6 +222,20 @@ struct ipr_error_table_t ipr_error_table[] = {
222 "FFFE: Soft device bus error recovered by the IOA"}, 222 "FFFE: Soft device bus error recovered by the IOA"},
223 {0x01088100, 0, IPR_DEFAULT_LOG_LEVEL, 223 {0x01088100, 0, IPR_DEFAULT_LOG_LEVEL,
224 "4101: Soft device bus fabric error"}, 224 "4101: Soft device bus fabric error"},
225 {0x01100100, 0, IPR_DEFAULT_LOG_LEVEL,
226 "FFFC: Logical block guard error recovered by the device"},
227 {0x01100300, 0, IPR_DEFAULT_LOG_LEVEL,
228 "FFFC: Logical block reference tag error recovered by the device"},
229 {0x01108300, 0, IPR_DEFAULT_LOG_LEVEL,
230 "4171: Recovered scatter list tag / sequence number error"},
231 {0x01109000, 0, IPR_DEFAULT_LOG_LEVEL,
232 "FF3D: Recovered logical block CRC error on IOA to Host transfer"},
233 {0x01109200, 0, IPR_DEFAULT_LOG_LEVEL,
234 "4171: Recovered logical block sequence number error on IOA to Host transfer"},
235 {0x0110A000, 0, IPR_DEFAULT_LOG_LEVEL,
236 "FFFD: Recovered logical block reference tag error detected by the IOA"},
237 {0x0110A100, 0, IPR_DEFAULT_LOG_LEVEL,
238 "FFFD: Logical block guard error recovered by the IOA"},
225 {0x01170600, 0, IPR_DEFAULT_LOG_LEVEL, 239 {0x01170600, 0, IPR_DEFAULT_LOG_LEVEL,
226 "FFF9: Device sector reassign successful"}, 240 "FFF9: Device sector reassign successful"},
227 {0x01170900, 0, IPR_DEFAULT_LOG_LEVEL, 241 {0x01170900, 0, IPR_DEFAULT_LOG_LEVEL,
@@ -278,12 +292,28 @@ struct ipr_error_table_t ipr_error_table[] = {
278 "3120: SCSI bus is not operational"}, 292 "3120: SCSI bus is not operational"},
279 {0x04088100, 0, IPR_DEFAULT_LOG_LEVEL, 293 {0x04088100, 0, IPR_DEFAULT_LOG_LEVEL,
280 "4100: Hard device bus fabric error"}, 294 "4100: Hard device bus fabric error"},
295 {0x04100100, 0, IPR_DEFAULT_LOG_LEVEL,
296 "310C: Logical block guard error detected by the device"},
297 {0x04100300, 0, IPR_DEFAULT_LOG_LEVEL,
298 "310C: Logical block reference tag error detected by the device"},
299 {0x04108300, 1, IPR_DEFAULT_LOG_LEVEL,
300 "4170: Scatter list tag / sequence number error"},
301 {0x04109000, 1, IPR_DEFAULT_LOG_LEVEL,
302 "8150: Logical block CRC error on IOA to Host transfer"},
303 {0x04109200, 1, IPR_DEFAULT_LOG_LEVEL,
304 "4170: Logical block sequence number error on IOA to Host transfer"},
305 {0x0410A000, 0, IPR_DEFAULT_LOG_LEVEL,
306 "310D: Logical block reference tag error detected by the IOA"},
307 {0x0410A100, 0, IPR_DEFAULT_LOG_LEVEL,
308 "310D: Logical block guard error detected by the IOA"},
281 {0x04118000, 0, IPR_DEFAULT_LOG_LEVEL, 309 {0x04118000, 0, IPR_DEFAULT_LOG_LEVEL,
282 "9000: IOA reserved area data check"}, 310 "9000: IOA reserved area data check"},
283 {0x04118100, 0, IPR_DEFAULT_LOG_LEVEL, 311 {0x04118100, 0, IPR_DEFAULT_LOG_LEVEL,
284 "9001: IOA reserved area invalid data pattern"}, 312 "9001: IOA reserved area invalid data pattern"},
285 {0x04118200, 0, IPR_DEFAULT_LOG_LEVEL, 313 {0x04118200, 0, IPR_DEFAULT_LOG_LEVEL,
286 "9002: IOA reserved area LRC error"}, 314 "9002: IOA reserved area LRC error"},
315 {0x04118300, 1, IPR_DEFAULT_LOG_LEVEL,
316 "Hardware Error, IOA metadata access error"},
287 {0x04320000, 0, IPR_DEFAULT_LOG_LEVEL, 317 {0x04320000, 0, IPR_DEFAULT_LOG_LEVEL,
288 "102E: Out of alternate sectors for disk storage"}, 318 "102E: Out of alternate sectors for disk storage"},
289 {0x04330000, 1, IPR_DEFAULT_LOG_LEVEL, 319 {0x04330000, 1, IPR_DEFAULT_LOG_LEVEL,
@@ -348,6 +378,8 @@ struct ipr_error_table_t ipr_error_table[] = {
348 "Illegal request, commands not allowed to this device"}, 378 "Illegal request, commands not allowed to this device"},
349 {0x05258100, 0, 0, 379 {0x05258100, 0, 0,
350 "Illegal request, command not allowed to a secondary adapter"}, 380 "Illegal request, command not allowed to a secondary adapter"},
381 {0x05258200, 0, 0,
382 "Illegal request, command not allowed to a non-optimized resource"},
351 {0x05260000, 0, 0, 383 {0x05260000, 0, 0,
352 "Illegal request, invalid field in parameter list"}, 384 "Illegal request, invalid field in parameter list"},
353 {0x05260100, 0, 0, 385 {0x05260100, 0, 0,