oops, diffs to use dev/dec/mcclock_pad32 were in a different tree. Fix.
This commit is contained in:
parent
c84f4e94d9
commit
e487483678
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mcclock_ioasic.c,v 1.6 1998/04/19 07:50:26 jonathan Exp $ */
|
||||
/* $NetBSD: mcclock_ioasic.c,v 1.7 1998/04/19 07:54:45 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
|
||||
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.6 1998/04/19 07:50:26 jonathan Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.7 1998/04/19 07:54:45 jonathan Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -46,13 +46,13 @@ __KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.6 1998/04/19 07:50:26 jonathan
|
|||
#include <dev/tc/tcvar.h>
|
||||
#include <dev/tc/ioasicvar.h> /* XXX */
|
||||
|
||||
#include <pmax/dev/mcclock_decvar.h>
|
||||
#include <dev/dec/mcclock_pad32.h>
|
||||
|
||||
int mcclock_ioasic_match __P((struct device *, struct cfdata *, void *));
|
||||
void mcclock_ioasic_attach __P((struct device *, struct device *, void *));
|
||||
|
||||
struct cfattach mcclock_ioasic_ca = {
|
||||
sizeof (struct mcclock_dec_softc),
|
||||
sizeof (struct mcclock_pad32_softc),
|
||||
(void *)mcclock_ioasic_match, mcclock_ioasic_attach,
|
||||
};
|
||||
|
||||
|
@ -83,10 +83,10 @@ mcclock_ioasic_attach(parent, self, aux)
|
|||
void *aux;
|
||||
{
|
||||
struct ioasicdev_attach_args *ioasicdev = aux;
|
||||
struct mcclock_dec_softc *sc = (struct mcclock_dec_softc *)self;
|
||||
struct mcclock_pad32_softc *sc = (struct mcclock_pad32_softc *)self;
|
||||
|
||||
sc->sc_dp = (struct mcclock_dec_clockdatum *)ioasicdev->iada_addr;
|
||||
sc->sc_dp = (struct mcclock_pad32_clockdatum *)ioasicdev->iada_addr;
|
||||
|
||||
/* Attach MI driver, using busfns with TC-style register padding */
|
||||
mcclock_attach(&sc->sc_mcclock, &mcclock_dec_busfns);
|
||||
mcclock_attach(&sc->sc_mcclock, &mcclock_pad32_busfns);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue