diff options
-rw-r--r-- | drivers/scsi/ipr.c | 6 | ||||
-rw-r--r-- | drivers/scsi/ipr.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 5ecc32cecd10..762627c848bd 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -493,15 +493,15 @@ struct ipr_error_table_t ipr_error_table[] = { | |||
493 | "9072: Link not operational transition"}, | 493 | "9072: Link not operational transition"}, |
494 | {0x066B8200, 0, IPR_DEFAULT_LOG_LEVEL, | 494 | {0x066B8200, 0, IPR_DEFAULT_LOG_LEVEL, |
495 | "9032: Array exposed but still protected"}, | 495 | "9032: Array exposed but still protected"}, |
496 | {0x066B8300, 0, IPR_DEFAULT_LOG_LEVEL + 1, | 496 | {0x066B8300, 0, IPR_DEBUG_LOG_LEVEL, |
497 | "70DD: Device forced failed by disrupt device command"}, | 497 | "70DD: Device forced failed by disrupt device command"}, |
498 | {0x066B9100, 0, IPR_DEFAULT_LOG_LEVEL, | 498 | {0x066B9100, 0, IPR_DEFAULT_LOG_LEVEL, |
499 | "4061: Multipath redundancy level got better"}, | 499 | "4061: Multipath redundancy level got better"}, |
500 | {0x066B9200, 0, IPR_DEFAULT_LOG_LEVEL, | 500 | {0x066B9200, 0, IPR_DEFAULT_LOG_LEVEL, |
501 | "4060: Multipath redundancy level got worse"}, | 501 | "4060: Multipath redundancy level got worse"}, |
502 | {0x06808100, 0, IPR_DEFAULT_LOG_LEVEL, | 502 | {0x06808100, 0, IPR_DEBUG_LOG_LEVEL, |
503 | "9083: Device raw mode enabled"}, | 503 | "9083: Device raw mode enabled"}, |
504 | {0x06808200, 0, IPR_DEFAULT_LOG_LEVEL, | 504 | {0x06808200, 0, IPR_DEBUG_LOG_LEVEL, |
505 | "9084: Device raw mode disabled"}, | 505 | "9084: Device raw mode disabled"}, |
506 | {0x07270000, 0, 0, | 506 | {0x07270000, 0, 0, |
507 | "Failure due to other device"}, | 507 | "Failure due to other device"}, |
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 4dbeaafa0ba2..8995053d01b3 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -1506,6 +1506,7 @@ struct ipr_ioa_cfg { | |||
1506 | u8 log_level; | 1506 | u8 log_level; |
1507 | #define IPR_MAX_LOG_LEVEL 4 | 1507 | #define IPR_MAX_LOG_LEVEL 4 |
1508 | #define IPR_DEFAULT_LOG_LEVEL 2 | 1508 | #define IPR_DEFAULT_LOG_LEVEL 2 |
1509 | #define IPR_DEBUG_LOG_LEVEL 3 | ||
1509 | 1510 | ||
1510 | #define IPR_NUM_TRACE_INDEX_BITS 8 | 1511 | #define IPR_NUM_TRACE_INDEX_BITS 8 |
1511 | #define IPR_NUM_TRACE_ENTRIES (1 << IPR_NUM_TRACE_INDEX_BITS) | 1512 | #define IPR_NUM_TRACE_ENTRIES (1 << IPR_NUM_TRACE_INDEX_BITS) |