Print this page
XXXX introduce drv_sectohz
*** 652,662 ****
}
fctl_ulp_list = new;
mutex_exit(&fctl_ulp_list_mutex);
while (rw_tryenter(&fctl_ulp_lock, RW_WRITER) == 0) {
! delay(drv_usectohz(1000000));
if (ntry++ > FC_ULP_ADD_RETRY_COUNT) {
fc_ulp_list_t *list;
fc_ulp_list_t *last;
mutex_enter(&fctl_ulp_list_mutex);
for (last = NULL, list = fctl_ulp_list; list != NULL;
--- 652,662 ----
}
fctl_ulp_list = new;
mutex_exit(&fctl_ulp_list_mutex);
while (rw_tryenter(&fctl_ulp_lock, RW_WRITER) == 0) {
! delay(drv_sectohz(1));
if (ntry++ > FC_ULP_ADD_RETRY_COUNT) {
fc_ulp_list_t *list;
fc_ulp_list_t *last;
mutex_enter(&fctl_ulp_list_mutex);
for (last = NULL, list = fctl_ulp_list; list != NULL;