summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthieu <matthieu@openbsd.org>2006-05-30 20:59:56 +0000
committermatthieu <matthieu@openbsd.org>2006-05-30 20:59:56 +0000
commit2a5e65679ff9e656e57409febfde9e6f6bfa0b6e (patch)
tree235003b78fe105693b4bf214d2e2487fc9854ac5
parentDon't double-eject tapes. Once is enough. Closes PR#1282. (diff)
downloadwireguard-openbsd-2a5e65679ff9e656e57409febfde9e6f6bfa0b6e.tar.xz
wireguard-openbsd-2a5e65679ff9e656e57409febfde9e6f6bfa0b6e.zip
The aperture that is needed in legacy vga space is even larger for
the mac mini's ATI graphics card. The full 0xa0000-0xfffff range is used here.
-rw-r--r--sys/arch/macppc/pci/vgafb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c
index 9981bcbe98e..536121e635b 100644
--- a/sys/arch/macppc/pci/vgafb.c
+++ b/sys/arch/macppc/pci/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.30 2006/05/02 21:02:03 matthieu Exp $ */
+/* $OpenBSD: vgafb.c,v 1.31 2006/05/30 20:59:56 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 < 0xc0000)
+ if (offset >= 0xa0000 && offset < 0xfffff)
h = offset;
/* XXX the following are probably wrong.
we want physical addresses here, not virtual ones */