summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbriggs <briggs@openbsd.org>1997-03-29 03:16:18 +0000
committerbriggs <briggs@openbsd.org>1997-03-29 03:16:18 +0000
commita8e337f85b4bda41641250e0251b237669cc234b (patch)
tree3f326dfcc639c638d34ab7abf14c491235c8e349
parentUse ``mail.local -H'' to do dot locking so we can have mode 755 mail (diff)
downloadwireguard-openbsd-a8e337f85b4bda41641250e0251b237669cc234b.tar.xz
wireguard-openbsd-a8e337f85b4bda41641250e0251b237669cc234b.zip
A bit more DAFB initialization.
-rw-r--r--sys/arch/mac68k/dev/grf_iv.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/grf_iv.c b/sys/arch/mac68k/dev/grf_iv.c
index b30d7ca2120..2edfac852be 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.12 1997/03/18 05:54:01 briggs Exp $ */
+/* $OpenBSD: grf_iv.c,v 1.13 1997/03/29 03:16:18 briggs Exp $ */
/* $NetBSD: grf_iv.c,v 1.17 1997/02/20 00:23:27 scottr Exp $ */
/*
@@ -109,6 +109,10 @@ grfiv_match(parent, vcf, aux)
if (sense == 0)
found = 0;
+ /* Set "Turbo SCSI" configuration to default */
+ bus_space_write_4(oa->oa_tag, bsh, 0x24, 0x1d1); /* ch0 */
+ bus_space_write_4(oa->oa_tag, bsh, 0x28, 0x1d1); /* ch1 */
+
/* Disable interrupts */
bus_space_write_4(oa->oa_tag, bsh, 0x104, 0);
@@ -120,6 +124,7 @@ grfiv_match(parent, vcf, aux)
bus_space_unmap(oa->oa_tag, bsh, 0x1000);
break;
+
default:
if (mac68k_vidlog == 0) {
found = 0;