From 05848b74115fce1a382958504ef55f5d6fa1e4c5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 10 Jun 2001 14:54:47 +0000 Subject: Post pmap_extract() changes cleanup. --- sys/arch/mvme68k/dev/if_ie.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/mvme68k/dev') diff --git a/sys/arch/mvme68k/dev/if_ie.c b/sys/arch/mvme68k/dev/if_ie.c index 52ac91b4309..4f74ffb0358 100644 --- a/sys/arch/mvme68k/dev/if_ie.c +++ b/sys/arch/mvme68k/dev/if_ie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ie.c,v 1.13 2001/06/08 08:09:06 art Exp $ */ +/* $OpenBSD: if_ie.c,v 1.14 2001/06/10 14:54:42 miod Exp $ */ /*- * Copyright (c) 1999 Steve Murphree, Jr. @@ -362,7 +362,7 @@ ie_obreset(sc) ieo->portlow = a >> 16; delay(1000); - pmap_extract(pmap_kernel(), sc->scp, &a); + pmap_extract(pmap_kernel(), (vm_offset_t)sc->scp, &a); a |= IE_PORT_NEWSCPADDR; ieo->porthigh = a & 0xffff; t = 0; t = 1; @@ -418,7 +418,7 @@ ieattach(parent, self, aux) /* get the first avaliable etherbuf */ sc->sc_maddr = etherbuf; /* maddr = vaddr */ if (sc->sc_maddr == NULL) panic("ie: too many ethernet boards"); - if (pmap_extract(pmap_kernel(), sc->sc_maddr, &pa) == FALSE) + if (pmap_extract(pmap_kernel(), (vm_offset_t)sc->sc_maddr, &pa) == FALSE) panic("ie: pmap_extract"); sc->sc_iobase = (caddr_t)pa; /* iobase = paddr (24 bit) */ @@ -434,7 +434,7 @@ ieattach(parent, self, aux) /*printf("scpV %x iscpV %x scbV %x\n", sc->scp, sc->iscp, sc->scb);*/ sc->scp->ie_bus_use = 0x44; - pmap_extract(pmap_kernel(), sc->iscp, &pa); + pmap_extract(pmap_kernel(), (vm_offset_t)sc->iscp, &pa); SWT_32(sc->scp->ie_iscp_ptr, pa); /* * rest of first page is unused (wasted!), rest of ram -- cgit v1.2.3