-/* $OpenBSD: mcclock.c,v 1.5 2022/10/12 13:39:50 kettenis Exp $ */
+/* $OpenBSD: mcclock.c,v 1.6 2022/10/15 14:58:54 jsg Exp $ */
/* $NetBSD: mcclock.c,v 1.4 1996/10/13 02:59:41 christos Exp $ */
/*
(*(dev)->sc_busfns->mc_bf_read)(dev, reg)
void
-mcclock_attach(sc, busfns)
- struct mcclock_softc *sc;
- const struct mcclock_busfns *busfns;
+mcclock_attach(struct mcclock_softc *sc, const struct mcclock_busfns *busfns)
{
printf(": mc146818 or compatible\n");
-/* $OpenBSD: mcclock_isa.c,v 1.3 2022/04/06 18:59:26 naddy Exp $ */
+/* $OpenBSD: mcclock_isa.c,v 1.4 2022/10/15 14:58:54 jsg Exp $ */
/* $NetBSD: mcclock_isa.c,v 1.5 1996/12/05 01:39:29 cgd Exp $ */
/*
};
int
-mcclock_isa_match(parent, match, aux)
- struct device *parent;
- void *match;
- void *aux;
+mcclock_isa_match(struct device *parent, void *match, void *aux)
{
struct isa_attach_args *ia = aux;
bus_space_handle_t ioh;
}
void
-mcclock_isa_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+mcclock_isa_attach(struct device *parent, struct device *self, void *aux)
{
struct isa_attach_args *ia = aux;
struct mcclock_isa_softc *sc = (struct mcclock_isa_softc *)self;
}
void
-mcclock_isa_write(mcsc, reg, datum)
- struct mcclock_softc *mcsc;
- u_int reg, datum;
+mcclock_isa_write(struct mcclock_softc *mcsc, u_int reg, u_int datum)
{
struct mcclock_isa_softc *sc = (struct mcclock_isa_softc *)mcsc;
bus_space_tag_t iot = sc->sc_iot;
}
u_int
-mcclock_isa_read(mcsc, reg)
- struct mcclock_softc *mcsc;
- u_int reg;
+mcclock_isa_read(struct mcclock_softc *mcsc, u_int reg)
{
struct mcclock_isa_softc *sc = (struct mcclock_isa_softc *)mcsc;
bus_space_tag_t iot = sc->sc_iot;