summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-11 21:20:52 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-11 21:20:52 +0000
commitecac9b24605f17fa52755f0bb150f00876afd478 (patch)
treec04dd621dc0febdb79c7f7bc7e138b4542b6aad6
parent7ec6b3db7982b2f1dd869c02e2709358a04827fe (diff)
extend the hackery to not use kvtop
-rw-r--r--sys/arch/hppa/gsc/if_ie_gsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/if_ie_gsc.c b/sys/arch/hppa/gsc/if_ie_gsc.c
index 73dac981caa..24b737af37a 100644
--- a/sys/arch/hppa/gsc/if_ie_gsc.c
+++ b/sys/arch/hppa/gsc/if_ie_gsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie_gsc.c,v 1.8 2002/02/06 19:07:04 mickey Exp $ */
+/* $OpenBSD: if_ie_gsc.c,v 1.9 2002/02/11 21:20:51 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -330,8 +330,8 @@ ie_gsc_attach(parent, self, aux)
#else
bzero(mem, sizeof(mem));
sc->bh = ((u_int)&mem + 15) & ~0xf;
+ sc->sc_maddr = sc->bh;
#endif
- sc->sc_maddr = kvtop((caddr_t)sc->bh);
sc->sysbus = 0x40 | IE_SYSBUS_82586 | IE_SYSBUS_INTLOW | IE_SYSBUS_TRG | IE_SYSBUS_BE;
sc->iot = sc->bt = ga->ga_iot;