From 222bd0f97333b4297dbdf4a468c158241b126cc8 Mon Sep 17 00:00:00 2001 From: briggs Date: Sat, 21 Sep 1996 03:55:48 +0000 Subject: Handle the two-page display card, although it doesn't appear to be generating video interrupts on my Q700 (perhaps it realized that DAFB will do that). --- sys/arch/mac68k/dev/grf_mv.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'sys/arch/mac68k') diff --git a/sys/arch/mac68k/dev/grf_mv.c b/sys/arch/mac68k/dev/grf_mv.c index 3c8c5594560..3f9e8db3602 100644 --- a/sys/arch/mac68k/dev/grf_mv.c +++ b/sys/arch/mac68k/dev/grf_mv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_mv.c,v 1.4 1996/08/10 21:37:44 briggs Exp $ */ +/* $OpenBSD: grf_mv.c,v 1.5 1996/09/21 03:55:47 briggs Exp $ */ /* $NetBSD: grf_mv.c,v 1.12 1996/08/04 06:03:54 scottr Exp $ */ /* @@ -104,7 +104,14 @@ grfmv_intr(vsc, slot) sc = (struct grfbus_softc *) vsc; slotbase = (caddr_t) sc->sc_slot.virtual_base; - slotbase[0xa0000] = zero; + switch (sc->card_id) { + case NUBUS_DRHW_WVC: + slotbase[0xa00000] = zero; + break; + default: + slotbase[0xa0000] = zero; + break; + } } static int -- cgit v1.2.3