summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-05-23 06:55:07 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-05-23 06:55:07 +0000
commit96cbc7f135f6b35754e5a2a71f08466ca7cfa4e9 (patch)
tree93cc07c059dde6c59e3c883ecddfd178f6e3f628 /sys/arch
parentd248c54ab87f6d27925a9dc020dba5459ea77cf5 (diff)
Add patch for Classic II video, from
http://member.nifty.ne.jp/nyamada/netbsd/patch
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index 8c313de02a5..4186f788d90 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.59 1999/05/22 21:22:25 weingart Exp $ */
+/* $OpenBSD: machdep.c,v 1.60 1999/05/23 06:55:06 downsj Exp $ */
/* $NetBSD: machdep.c,v 1.134 1997/02/14 06:15:30 scottr Exp $ */
/*
@@ -2733,7 +2733,13 @@ get_mapping(void)
}
}
if (i == nbnumranges) {
- if (0x60000000 <= videoaddr && videoaddr < 0x70000000) {
+ if (0xfee00000 <= videoaddr && videoaddr < 0xfee10000) {
+ /*
+ * Kludge for Classic II video.
+ */
+ check_video("Classic II video (0xfee09a80)",
+ 21888, 21888);
+ } else if (0x60000000 <= videoaddr && videoaddr < 0x70000000) {
printf("Checking for Internal Video ");
/*
* Kludge for IIvx internal video (60b0 0000).