Print this page
XXXX introduce drv_sectohz
*** 4989,4999 ****
* 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));
}
/* link this device to dev_info */
dp->next = (struct gem_dev *)ddi_get_driver_private(dip);
dp->port = port;
--- 4989,4999 ----
* Dont use interrupt.
* schedule first call of gem_intr_watcher
*/
dp->intr_watcher_id =
timeout((void (*)(void *))gem_intr_watcher,
! (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,5212 ****
* 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));
}
/* restart mii link watcher */
gem_mii_start(dp);
--- 5202,5212 ----
* schedule first call of gem_intr_watcher
* instead of interrupts.
*/
dp->intr_watcher_id =
timeout((void (*)(void *))gem_intr_watcher,
! (void *)dp, drv_sectohz(3));
}
/* restart mii link watcher */
gem_mii_start(dp);