diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-05-02 21:02:04 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-05-02 21:02:04 +0000 |
commit | f7b5d697793764c3c82bf01ee0a5041a1d7ecd75 (patch) | |
tree | e5ffb359cc8d3a3db6480b91e8ae83a748bc201d /sys | |
parent | 9838669897d9a5a7abfa74ebb4cca264b3a09457 (diff) |
The r128 driver also need the 0xb0000-0xc0000 address range. found by Jolan@.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/pci/vgafb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c index 96d617768b8..9981bcbe98e 100644 --- a/sys/arch/macppc/pci/vgafb.c +++ b/sys/arch/macppc/pci/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.29 2006/04/28 20:21:42 matthieu Exp $ */ +/* $OpenBSD: vgafb.c,v 1.30 2006/05/02 21:02:03 matthieu Exp $ */ /* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */ /* @@ -351,7 +351,7 @@ vgafb_mmap(void *v, off_t offset, int prot) break; } #endif - if (offset >= 0xa0000 && offset < 0xb0000) + if (offset >= 0xa0000 && offset < 0xc0000) h = offset; /* XXX the following are probably wrong. we want physical addresses here, not virtual ones */ |