diff options
Diffstat (limited to 'sys/dev/dec/mcclockvar.h')
-rw-r--r-- | sys/dev/dec/mcclockvar.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/dev/dec/mcclockvar.h b/sys/dev/dec/mcclockvar.h index d2c0ac8..0c9f5df 100644 --- a/sys/dev/dec/mcclockvar.h +++ b/sys/dev/dec/mcclockvar.h @@ -27,15 +27,9 @@ * rights to redistribute these changes. */ -struct mcclock_softc { - device_t sc_dev; - const struct mcclock_busfns *sc_busfns; -}; +#include "mcclock_if.h" -struct mcclock_busfns { - void (*mc_bf_write) __P((struct mcclock_softc *, u_int, u_int)); - u_int (*mc_bf_read) __P((struct mcclock_softc *, u_int)); -}; - -void mcclock_attach __P((struct mcclock_softc *, - const struct mcclock_busfns *)); +void mcclock_attach(device_t dev); +void mcclock_init(device_t); +void mcclock_get(device_t, time_t, struct clocktime *); +void mcclock_set(device_t, struct clocktime *); |