diff options
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_scsih.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index eb0215a2b5fa..c20c1e8cb8a7 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -4279,6 +4279,12 @@ _scsih_sas_device_status_change_event_debug(struct MPT2SAS_ADAPTER *ioc, | |||
4279 | case MPI2_EVENT_SAS_DEV_STAT_RC_ASYNC_NOTIFICATION: | 4279 | case MPI2_EVENT_SAS_DEV_STAT_RC_ASYNC_NOTIFICATION: |
4280 | reason_str = "internal async notification"; | 4280 | reason_str = "internal async notification"; |
4281 | break; | 4281 | break; |
4282 | case MPI2_EVENT_SAS_DEV_STAT_RC_EXPANDER_REDUCED_FUNCTIONALITY: | ||
4283 | reason_str = "expander reduced functionality"; | ||
4284 | break; | ||
4285 | case MPI2_EVENT_SAS_DEV_STAT_RC_CMP_EXPANDER_REDUCED_FUNCTIONALITY: | ||
4286 | reason_str = "expander reduced functionality complete"; | ||
4287 | break; | ||
4282 | default: | 4288 | default: |
4283 | reason_str = "unknown reason"; | 4289 | reason_str = "unknown reason"; |
4284 | break; | 4290 | break; |
@@ -5062,11 +5068,17 @@ _scsih_sas_ir_operation_status_event_debug(struct MPT2SAS_ADAPTER *ioc, | |||
5062 | case MPI2_EVENT_IR_RAIDOP_CONSISTENCY_CHECK: | 5068 | case MPI2_EVENT_IR_RAIDOP_CONSISTENCY_CHECK: |
5063 | reason_str = "consistency check"; | 5069 | reason_str = "consistency check"; |
5064 | break; | 5070 | break; |
5065 | default: | 5071 | case MPI2_EVENT_IR_RAIDOP_BACKGROUND_INIT: |
5066 | reason_str = "unknown reason"; | 5072 | reason_str = "background init"; |
5073 | break; | ||
5074 | case MPI2_EVENT_IR_RAIDOP_MAKE_DATA_CONSISTENT: | ||
5075 | reason_str = "make data consistent"; | ||
5067 | break; | 5076 | break; |
5068 | } | 5077 | } |
5069 | 5078 | ||
5079 | if (!reason_str) | ||
5080 | return; | ||
5081 | |||
5070 | printk(MPT2SAS_INFO_FMT "raid operational status: (%s)" | 5082 | printk(MPT2SAS_INFO_FMT "raid operational status: (%s)" |
5071 | "\thandle(0x%04x), percent complete(%d)\n", | 5083 | "\thandle(0x%04x), percent complete(%d)\n", |
5072 | ioc->name, reason_str, | 5084 | ioc->name, reason_str, |