diff --git a/sys/arch/x68k/dev/kbd.c b/sys/arch/x68k/dev/kbd.c index e107c09e2375..2dc4e2143e5e 100644 --- a/sys/arch/x68k/dev/kbd.c +++ b/sys/arch/x68k/dev/kbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: kbd.c,v 1.35 2008/06/25 08:14:59 isaki Exp $ */ +/* $NetBSD: kbd.c,v 1.36 2009/01/17 03:26:31 isaki Exp $ */ /* * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.35 2008/06/25 08:14:59 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.36 2009/01/17 03:26:31 isaki Exp $"); #include "ite.h" #include "bell.h" @@ -348,7 +348,7 @@ kbdintr(void *arg) } fe->id = KEY_CODE(c); fe->value = KEY_UP(c) ? VKEY_UP : VKEY_DOWN; - getmicrotime(&fe->time); + firm_gettime(fe); sc->sc_events.ev_put = put; EV_WAKEUP(&sc->sc_events); diff --git a/sys/arch/x68k/dev/ms.c b/sys/arch/x68k/dev/ms.c index 477e6e76d80a..0321bc80e290 100644 --- a/sys/arch/x68k/dev/ms.c +++ b/sys/arch/x68k/dev/ms.c @@ -1,4 +1,4 @@ -/* $NetBSD: ms.c,v 1.29 2008/06/25 08:19:37 isaki Exp $ */ +/* $NetBSD: ms.c,v 1.30 2009/01/17 03:26:31 isaki Exp $ */ /* * Copyright (c) 1992, 1993 @@ -45,7 +45,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.29 2008/06/25 08:19:37 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.30 2009/01/17 03:26:31 isaki Exp $"); #include #include @@ -428,7 +428,7 @@ ms_input(struct ms_softc *ms, int c) d = to_one[d - 1]; /* from 1..7 to {1,2,4} */ fe->id = to_id[d - 1]; /* from {1,2,4} to ID */ fe->value = mb & d ? VKEY_DOWN : VKEY_UP; - getmicrotime(&fe->time); + firm_gettime(fe); ADVANCE; ub ^= d; any++; @@ -437,7 +437,7 @@ ms_input(struct ms_softc *ms, int c) NEXT; fe->id = LOC_X_DELTA; fe->value = ms->ms_dx; - getmicrotime(&fe->time); + firm_gettime(fe); ADVANCE; ms->ms_dx = 0; any++; @@ -446,7 +446,7 @@ ms_input(struct ms_softc *ms, int c) NEXT; fe->id = LOC_Y_DELTA; fe->value = -ms->ms_dy; /* XXX? */ - getmicrotime(&fe->time); + firm_gettime(fe); ADVANCE; ms->ms_dy = 0; any++;