diff options
Diffstat (limited to 'drivers/message/fusion/mptbase.c')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 330c29080e3c..08779d79a1f0 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -2291,7 +2291,7 @@ MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag) | |||
2291 | } | 2291 | } |
2292 | 2292 | ||
2293 | if (sleepFlag == CAN_SLEEP) { | 2293 | if (sleepFlag == CAN_SLEEP) { |
2294 | msleep_interruptible(1); | 2294 | msleep(1); |
2295 | } else { | 2295 | } else { |
2296 | mdelay (1); /* 1 msec delay */ | 2296 | mdelay (1); /* 1 msec delay */ |
2297 | } | 2297 | } |
@@ -2679,7 +2679,7 @@ SendIocInit(MPT_ADAPTER *ioc, int sleepFlag) | |||
2679 | state = mpt_GetIocState(ioc, 1); | 2679 | state = mpt_GetIocState(ioc, 1); |
2680 | while (state != MPI_IOC_STATE_OPERATIONAL && --cntdn) { | 2680 | while (state != MPI_IOC_STATE_OPERATIONAL && --cntdn) { |
2681 | if (sleepFlag == CAN_SLEEP) { | 2681 | if (sleepFlag == CAN_SLEEP) { |
2682 | msleep_interruptible(1); | 2682 | msleep(1); |
2683 | } else { | 2683 | } else { |
2684 | mdelay(1); | 2684 | mdelay(1); |
2685 | } | 2685 | } |
@@ -2931,7 +2931,7 @@ mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag) | |||
2931 | 2931 | ||
2932 | /* wait 1 msec */ | 2932 | /* wait 1 msec */ |
2933 | if (sleepFlag == CAN_SLEEP) { | 2933 | if (sleepFlag == CAN_SLEEP) { |
2934 | msleep_interruptible(1); | 2934 | msleep(1); |
2935 | } else { | 2935 | } else { |
2936 | mdelay (1); | 2936 | mdelay (1); |
2937 | } | 2937 | } |
@@ -2948,7 +2948,7 @@ mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag) | |||
2948 | } | 2948 | } |
2949 | /* wait .1 sec */ | 2949 | /* wait .1 sec */ |
2950 | if (sleepFlag == CAN_SLEEP) { | 2950 | if (sleepFlag == CAN_SLEEP) { |
2951 | msleep_interruptible (100); | 2951 | msleep (100); |
2952 | } else { | 2952 | } else { |
2953 | mdelay (100); | 2953 | mdelay (100); |
2954 | } | 2954 | } |
@@ -3038,7 +3038,7 @@ mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag) | |||
3038 | 3038 | ||
3039 | /* wait 1 msec */ | 3039 | /* wait 1 msec */ |
3040 | if (sleepFlag == CAN_SLEEP) { | 3040 | if (sleepFlag == CAN_SLEEP) { |
3041 | msleep_interruptible (1); | 3041 | msleep (1); |
3042 | } else { | 3042 | } else { |
3043 | mdelay (1); | 3043 | mdelay (1); |
3044 | } | 3044 | } |
@@ -3086,7 +3086,7 @@ mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag) | |||
3086 | return 0; | 3086 | return 0; |
3087 | } | 3087 | } |
3088 | if (sleepFlag == CAN_SLEEP) { | 3088 | if (sleepFlag == CAN_SLEEP) { |
3089 | msleep_interruptible (10); | 3089 | msleep (10); |
3090 | } else { | 3090 | } else { |
3091 | mdelay (10); | 3091 | mdelay (10); |
3092 | } | 3092 | } |
@@ -3137,7 +3137,7 @@ KickStart(MPT_ADAPTER *ioc, int force, int sleepFlag) | |||
3137 | SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, sleepFlag); | 3137 | SendIocReset(ioc, MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, sleepFlag); |
3138 | 3138 | ||
3139 | if (sleepFlag == CAN_SLEEP) { | 3139 | if (sleepFlag == CAN_SLEEP) { |
3140 | msleep_interruptible (1000); | 3140 | msleep (1000); |
3141 | } else { | 3141 | } else { |
3142 | mdelay (1000); | 3142 | mdelay (1000); |
3143 | } | 3143 | } |
@@ -3159,7 +3159,7 @@ KickStart(MPT_ADAPTER *ioc, int force, int sleepFlag) | |||
3159 | return hard_reset_done; | 3159 | return hard_reset_done; |
3160 | } | 3160 | } |
3161 | if (sleepFlag == CAN_SLEEP) { | 3161 | if (sleepFlag == CAN_SLEEP) { |
3162 | msleep_interruptible (10); | 3162 | msleep (10); |
3163 | } else { | 3163 | } else { |
3164 | mdelay (10); | 3164 | mdelay (10); |
3165 | } | 3165 | } |
@@ -3230,7 +3230,7 @@ mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag) | |||
3230 | 3230 | ||
3231 | /* wait 100 msec */ | 3231 | /* wait 100 msec */ |
3232 | if (sleepFlag == CAN_SLEEP) { | 3232 | if (sleepFlag == CAN_SLEEP) { |
3233 | msleep_interruptible (100); | 3233 | msleep (100); |
3234 | } else { | 3234 | } else { |
3235 | mdelay (100); | 3235 | mdelay (100); |
3236 | } | 3236 | } |
@@ -3309,7 +3309,7 @@ mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag) | |||
3309 | 3309 | ||
3310 | /* wait 1 sec */ | 3310 | /* wait 1 sec */ |
3311 | if (sleepFlag == CAN_SLEEP) { | 3311 | if (sleepFlag == CAN_SLEEP) { |
3312 | msleep_interruptible (1000); | 3312 | msleep (1000); |
3313 | } else { | 3313 | } else { |
3314 | mdelay (1000); | 3314 | mdelay (1000); |
3315 | } | 3315 | } |
@@ -3337,7 +3337,7 @@ mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag) | |||
3337 | 3337 | ||
3338 | /* wait 1 sec */ | 3338 | /* wait 1 sec */ |
3339 | if (sleepFlag == CAN_SLEEP) { | 3339 | if (sleepFlag == CAN_SLEEP) { |
3340 | msleep_interruptible (1000); | 3340 | msleep (1000); |
3341 | } else { | 3341 | } else { |
3342 | mdelay (1000); | 3342 | mdelay (1000); |
3343 | } | 3343 | } |
@@ -3371,7 +3371,7 @@ mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag) | |||
3371 | 3371 | ||
3372 | /* wait 100 msec */ | 3372 | /* wait 100 msec */ |
3373 | if (sleepFlag == CAN_SLEEP) { | 3373 | if (sleepFlag == CAN_SLEEP) { |
3374 | msleep_interruptible (100); | 3374 | msleep (100); |
3375 | } else { | 3375 | } else { |
3376 | mdelay (100); | 3376 | mdelay (100); |
3377 | } | 3377 | } |
@@ -3465,7 +3465,7 @@ SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag) | |||
3465 | } | 3465 | } |
3466 | 3466 | ||
3467 | if (sleepFlag == CAN_SLEEP) { | 3467 | if (sleepFlag == CAN_SLEEP) { |
3468 | msleep_interruptible(1); | 3468 | msleep(1); |
3469 | } else { | 3469 | } else { |
3470 | mdelay (1); /* 1 msec delay */ | 3470 | mdelay (1); /* 1 msec delay */ |
3471 | } | 3471 | } |
@@ -3905,7 +3905,7 @@ WaitForDoorbellAck(MPT_ADAPTER *ioc, int howlong, int sleepFlag) | |||
3905 | intstat = CHIPREG_READ32(&ioc->chip->IntStatus); | 3905 | intstat = CHIPREG_READ32(&ioc->chip->IntStatus); |
3906 | if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) | 3906 | if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) |
3907 | break; | 3907 | break; |
3908 | msleep_interruptible (1); | 3908 | msleep (1); |
3909 | count++; | 3909 | count++; |
3910 | } | 3910 | } |
3911 | } else { | 3911 | } else { |
@@ -3954,7 +3954,7 @@ WaitForDoorbellInt(MPT_ADAPTER *ioc, int howlong, int sleepFlag) | |||
3954 | intstat = CHIPREG_READ32(&ioc->chip->IntStatus); | 3954 | intstat = CHIPREG_READ32(&ioc->chip->IntStatus); |
3955 | if (intstat & MPI_HIS_DOORBELL_INTERRUPT) | 3955 | if (intstat & MPI_HIS_DOORBELL_INTERRUPT) |
3956 | break; | 3956 | break; |
3957 | msleep_interruptible(1); | 3957 | msleep(1); |
3958 | count++; | 3958 | count++; |
3959 | } | 3959 | } |
3960 | } else { | 3960 | } else { |