diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/pcc.c')
-rw-r--r-- | sys/arch/mvme68k/dev/pcc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/dev/pcc.c b/sys/arch/mvme68k/dev/pcc.c index 45250dac7d7..793f3a9bd4d 100644 --- a/sys/arch/mvme68k/dev/pcc.c +++ b/sys/arch/mvme68k/dev/pcc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcc.c,v 1.14 2004/07/30 22:29:45 miod Exp $ */ +/* $OpenBSD: pcc.c,v 1.15 2005/11/24 22:43:16 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -48,8 +48,8 @@ struct pccsoftc { struct device sc_dev; - void *sc_vaddr; - void *sc_paddr; + vaddr_t sc_vaddr; + paddr_t sc_paddr; struct pccreg *sc_pcc; struct intrhand sc_nmiih; }; @@ -113,8 +113,8 @@ pcc_scan(parent, child, args) oca.ca_vaddr = sc->sc_vaddr + oca.ca_offset; oca.ca_paddr = sc->sc_paddr + oca.ca_offset; } else { - oca.ca_vaddr = (void *)-1; - oca.ca_paddr = (void *)-1; + oca.ca_vaddr = (vaddr_t)-1; + oca.ca_paddr = (paddr_t)-1; } oca.ca_bustype = BUS_PCC; oca.ca_name = cf->cf_driver->cd_name; @@ -140,7 +140,7 @@ pccattach(parent, self, args) * we must adjust our address */ sc->sc_paddr = ca->ca_paddr; - sc->sc_vaddr = (void *)IIOV(sc->sc_paddr); + sc->sc_vaddr = IIOV(sc->sc_paddr); sc->sc_pcc = (struct pccreg *)(sc->sc_vaddr + PCCSPACE_PCCCHIP_OFF); sys_pcc = sc->sc_pcc; |