Print this page
XXXX introduce drv_sectohz

@@ -2201,11 +2201,11 @@
         if (acquire) {
                 for (tries = 0; tries < 5; tries++) {
                         tx_en.val = nge_reg_get32(ngep, NGE_TX_EN);
                         if (tx_en.bits.smu2mac == NGE_SMU_FREE)
                                 break;
-                        delay(drv_usectohz(1000000));
+                        delay(drv_sectohz(1));
                 }
                 if (tx_en.bits.smu2mac != NGE_SMU_FREE)
                         return (DDI_FAILURE);
                 for (tries = 0; tries < 5; tries++) {
                         tx_en.val = nge_reg_get32(ngep, NGE_TX_EN);