summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-12-03 06:40:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-12-03 06:40:14 +0000
commitfd1b9ec611d110722cb8833f38eec8cb31077b56 (patch)
tree52ba2d3a68fe7eb2c7beb908d865c6f43a2056a7
parent50e07ad23fbffea09191be4e33f4ad94014f01c0 (diff)
Always attach intvid even if the monitor sense code seems wrong; this is
the case with non-Apple monitors connected with video adaptors.
-rw-r--r--sys/arch/mac68k/dev/grf_iv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/grf_iv.c b/sys/arch/mac68k/dev/grf_iv.c
index be4164aef69..cb1db1407f7 100644
--- a/sys/arch/mac68k/dev/grf_iv.c
+++ b/sys/arch/mac68k/dev/grf_iv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf_iv.c,v 1.20 2002/03/14 01:26:35 millert Exp $ */
+/* $OpenBSD: grf_iv.c,v 1.21 2004/12/03 06:40:13 miod Exp $ */
/* $NetBSD: grf_iv.c,v 1.17 1997/02/20 00:23:27 scottr Exp $ */
/*
@@ -109,8 +109,10 @@ grfiv_match(parent, vcf, aux)
sense = (bus_space_read_4(oa->oa_tag, bsh, 0x1C) & 7);
+#if 0 /* when using a non-Apple monitor with an adapter, sense is zero */
if (sense == 0)
found = 0;
+#endif
/* Set "Turbo SCSI" configuration to default */
bus_space_write_4(oa->oa_tag, bsh, 0x24, 0x1d1); /* ch0 */