diff options
Diffstat (limited to 'drivers/message/fusion/mptctl.c')
-rw-r--r-- | drivers/message/fusion/mptctl.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index 9bd89cebb5a9..40046f595f1c 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -954,9 +954,12 @@ retry_wait: | |||
954 | mpt_free_msg_frame(iocp, mf); | 954 | mpt_free_msg_frame(iocp, mf); |
955 | goto fwdl_out; | 955 | goto fwdl_out; |
956 | } | 956 | } |
957 | if (!timeleft) | 957 | if (!timeleft) { |
958 | printk(MYIOC_s_WARN_FMT | ||
959 | "FW download timeout, doorbell=0x%08x\n", | ||
960 | iocp->name, mpt_GetIocState(iocp, 0)); | ||
958 | mptctl_timeout_expired(iocp, mf); | 961 | mptctl_timeout_expired(iocp, mf); |
959 | else | 962 | } else |
960 | goto retry_wait; | 963 | goto retry_wait; |
961 | goto fwdl_out; | 964 | goto fwdl_out; |
962 | } | 965 | } |
@@ -2301,6 +2304,10 @@ retry_wait: | |||
2301 | goto done_free_mem; | 2304 | goto done_free_mem; |
2302 | } | 2305 | } |
2303 | if (!timeleft) { | 2306 | if (!timeleft) { |
2307 | printk(MYIOC_s_WARN_FMT | ||
2308 | "mpt cmd timeout, doorbell=0x%08x" | ||
2309 | " function=0x%x\n", | ||
2310 | ioc->name, mpt_GetIocState(ioc, 0), function); | ||
2304 | if (function == MPI_FUNCTION_SCSI_TASK_MGMT) | 2311 | if (function == MPI_FUNCTION_SCSI_TASK_MGMT) |
2305 | mutex_unlock(&ioc->taskmgmt_cmds.mutex); | 2312 | mutex_unlock(&ioc->taskmgmt_cmds.mutex); |
2306 | mptctl_timeout_expired(ioc, mf); | 2313 | mptctl_timeout_expired(ioc, mf); |
@@ -2608,9 +2615,12 @@ retry_wait: | |||
2608 | mpt_free_msg_frame(ioc, mf); | 2615 | mpt_free_msg_frame(ioc, mf); |
2609 | goto out; | 2616 | goto out; |
2610 | } | 2617 | } |
2611 | if (!timeleft) | 2618 | if (!timeleft) { |
2619 | printk(MYIOC_s_WARN_FMT | ||
2620 | "HOST INFO command timeout, doorbell=0x%08x\n", | ||
2621 | ioc->name, mpt_GetIocState(ioc, 0)); | ||
2612 | mptctl_timeout_expired(ioc, mf); | 2622 | mptctl_timeout_expired(ioc, mf); |
2613 | else | 2623 | } else |
2614 | goto retry_wait; | 2624 | goto retry_wait; |
2615 | goto out; | 2625 | goto out; |
2616 | } | 2626 | } |