diff options
Diffstat (limited to 'drivers/message/fusion/mptscsih.c')
-rw-r--r-- | drivers/message/fusion/mptscsih.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index 84fa271eb8f4..8242b16e3168 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
@@ -1922,7 +1922,7 @@ mptscsih_tm_wait_for_completion(MPT_SCSI_HOST * hd, ulong timeout ) | |||
1922 | break; | 1922 | break; |
1923 | } | 1923 | } |
1924 | spin_unlock_irqrestore(&hd->ioc->FreeQlock, flags); | 1924 | spin_unlock_irqrestore(&hd->ioc->FreeQlock, flags); |
1925 | msleep_interruptible(250); | 1925 | msleep(250); |
1926 | } while (--loop_count); | 1926 | } while (--loop_count); |
1927 | 1927 | ||
1928 | return status; | 1928 | return status; |
@@ -2521,18 +2521,6 @@ mptscsih_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) | |||
2521 | hd->cmdPtr = NULL; | 2521 | hd->cmdPtr = NULL; |
2522 | } | 2522 | } |
2523 | 2523 | ||
2524 | /* 7. FC: Rescan for blocked rports which might have returned. | ||
2525 | */ | ||
2526 | if (ioc->bus_type == FC) { | ||
2527 | spin_lock_irqsave(&ioc->fc_rescan_work_lock, flags); | ||
2528 | if (ioc->fc_rescan_work_q) { | ||
2529 | if (ioc->fc_rescan_work_count++ == 0) { | ||
2530 | queue_work(ioc->fc_rescan_work_q, | ||
2531 | &ioc->fc_rescan_work); | ||
2532 | } | ||
2533 | } | ||
2534 | spin_unlock_irqrestore(&ioc->fc_rescan_work_lock, flags); | ||
2535 | } | ||
2536 | dtmprintk((MYIOC_s_WARN_FMT "Post-Reset complete.\n", ioc->name)); | 2524 | dtmprintk((MYIOC_s_WARN_FMT "Post-Reset complete.\n", ioc->name)); |
2537 | 2525 | ||
2538 | } | 2526 | } |
@@ -2546,7 +2534,6 @@ mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) | |||
2546 | { | 2534 | { |
2547 | MPT_SCSI_HOST *hd; | 2535 | MPT_SCSI_HOST *hd; |
2548 | u8 event = le32_to_cpu(pEvReply->Event) & 0xFF; | 2536 | u8 event = le32_to_cpu(pEvReply->Event) & 0xFF; |
2549 | unsigned long flags; | ||
2550 | 2537 | ||
2551 | devtverboseprintk((MYIOC_s_INFO_FMT "MPT event (=%02Xh) routed to SCSI host driver!\n", | 2538 | devtverboseprintk((MYIOC_s_INFO_FMT "MPT event (=%02Xh) routed to SCSI host driver!\n", |
2552 | ioc->name, event)); | 2539 | ioc->name, event)); |
@@ -2569,14 +2556,6 @@ mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) | |||
2569 | break; | 2556 | break; |
2570 | 2557 | ||
2571 | case MPI_EVENT_RESCAN: /* 06 */ | 2558 | case MPI_EVENT_RESCAN: /* 06 */ |
2572 | spin_lock_irqsave(&ioc->fc_rescan_work_lock, flags); | ||
2573 | if (ioc->fc_rescan_work_q) { | ||
2574 | if (ioc->fc_rescan_work_count++ == 0) { | ||
2575 | queue_work(ioc->fc_rescan_work_q, | ||
2576 | &ioc->fc_rescan_work); | ||
2577 | } | ||
2578 | } | ||
2579 | spin_unlock_irqrestore(&ioc->fc_rescan_work_lock, flags); | ||
2580 | break; | 2559 | break; |
2581 | 2560 | ||
2582 | /* | 2561 | /* |