summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/if_ie.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-06-10 14:54:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-06-10 14:54:47 +0000
commit05848b74115fce1a382958504ef55f5d6fa1e4c5 (patch)
treee0fa75ea5aedaa4d53c6daa74884820fd6539b59 /sys/arch/mvme68k/dev/if_ie.c
parentf39c02bed013cb2cf33666aac201e73e62ba77f7 (diff)
Post pmap_extract() changes cleanup.
Diffstat (limited to 'sys/arch/mvme68k/dev/if_ie.c')
-rw-r--r--sys/arch/mvme68k/dev/if_ie.c8
1 files changed, 4 insertions, 4 deletions
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