Print this page
XXXX introduce drv_sectohz
*** 551,561 ****
* i2c device from which the key switch position is read.
*/
if (regs[0] == 0 && regs[1] == 0x7c) {
abort_seq_handler = littleneck_abort_seq_handler;
keypoll_timeout_hz =
! drv_usectohz(LNECK_KEY_POLL_INTVL * MICROSEC);
littleneck_ks_poll(unitp);
}
ddi_prop_free(regs);
--- 551,561 ----
* i2c device from which the key switch position is read.
*/
if (regs[0] == 0 && regs[1] == 0x7c) {
abort_seq_handler = littleneck_abort_seq_handler;
keypoll_timeout_hz =
! drv_sectohz(LNECK_KEY_POLL_INTVL);
littleneck_ks_poll(unitp);
}
ddi_prop_free(regs);