Print this page
XXXX introduce drv_sectohz

@@ -4989,11 +4989,11 @@
                  * Dont use interrupt.
                  * schedule first call of gem_intr_watcher
                  */
                 dp->intr_watcher_id =
                     timeout((void (*)(void *))gem_intr_watcher,
-                    (void *)dp, drv_usectohz(3*1000000));
+                    (void *)dp, drv_sectohz(3));
         }
 
         /* link this device to dev_info */
         dp->next = (struct gem_dev *)ddi_get_driver_private(dip);
         dp->port = port;

@@ -5202,11 +5202,11 @@
                          * schedule first call of gem_intr_watcher
                          * instead of interrupts.
                          */
                         dp->intr_watcher_id =
                             timeout((void (*)(void *))gem_intr_watcher,
-                            (void *)dp, drv_usectohz(3*1000000));
+                            (void *)dp, drv_sectohz(3));
                 }
 
                 /* restart mii link watcher */
                 gem_mii_start(dp);