diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-06-15 03:04:18 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-06-15 03:04:18 +0000 |
commit | fdf26b38120df78326c1a5d7f0e3331008d1e704 (patch) | |
tree | c65b8cbc5222df9d757e17583448bb50aea09287 /sys/arch/hppa/dev | |
parent | 445f6562ad6e5509df317d0eef553708523959b1 (diff) |
be more carefull about pg0, i think switch on sv next time
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r-- | sys/arch/hppa/dev/sti_sgc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/sti_sgc.c b/sys/arch/hppa/dev/sti_sgc.c index 720393af9a6..1c13a7801f3 100644 --- a/sys/arch/hppa/dev/sti_sgc.c +++ b/sys/arch/hppa/dev/sti_sgc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sti_sgc.c,v 1.2 2000/06/13 18:36:37 mickey Exp $ */ +/* $OpenBSD: sti_sgc.c,v 1.3 2000/06/15 03:04:17 mickey Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -92,7 +92,7 @@ sti_sgc_probe(parent, match, aux) * Locate STI ROM. * On some machines it may not be part of the HPA space. */ - if (!PAGE0->pd_resv2[1]) { + if (PAGE0->pd_resv2[1] < HPPA_IOBEGIN) { rom = ca->ca_hpa; romh = ioh; romunmapped++; @@ -151,7 +151,7 @@ sti_sgc_attach(parent, self, aux) bus_addr_t addr; int rv; - if (!PAGE0->pd_resv2[1]) + if (PAGE0->pd_resv2[1] < HPPA_IOBEGIN) addr = ca->ca_hpa; else addr = PAGE0->pd_resv2[1]; |