Print this page
XXXX introduce drv_sectohz

@@ -1349,11 +1349,11 @@
         if (t < 1)
                 t = 1;          /* Let's be reasonable */
         if (t > 600)
                 t = 600;        /* Let's be reasonable */
         /* We're using ticks (lbolts) for our timeout -- convert from seconds */
-        t = drv_usectohz(1000000 * t);
+        t = drv_sectohz(t);
         ((gld_mac_pvt_t *)macinfo->gldm_mac_pvt)->rde_timeout = t;
         }
 
         kstat_named_init(&sp->glds_dot5_line_error,
             "line_errors", KSTAT_DATA_UINT32);