Print this page
XXXX introduce drv_sectohz
@@ -3227,11 +3227,11 @@
CSR_BC(csr_base, HOTPLUG_CONTROL, SLOTPON);
else
CSR_BS(csr_base, HOTPLUG_CONTROL, SLOTPON);
/* Wait for one second */
- delay(drv_usectohz(1000000));
+ delay(drv_sectohz(1));
return (DDI_SUCCESS);
fail2:
/* Link up is failed */
@@ -3350,11 +3350,11 @@
break;
}
/* Wait for one second */
- delay(drv_usectohz(1000000));
+ delay(drv_sectohz(1));
}
/* Indicator LED off */
reg = CSR_XR(csr_base, TLU_SLOT_CONTROL);
reg &= ~PCIE_SLOTCTL_ATTN_INDICATOR_MASK;