diff options
author | briggs <briggs@cvs.openbsd.org> | 1996-09-21 03:55:48 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1996-09-21 03:55:48 +0000 |
commit | 222bd0f97333b4297dbdf4a468c158241b126cc8 (patch) | |
tree | 74960fb742a82e1ef45a2ec692a872e148d7d7d4 /sys/arch | |
parent | 3f3ce703725a3c0f4c3a03874167ba8ffe85f471 (diff) |
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).
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mac68k/dev/grf_mv.c | 11 |
1 files changed, 9 insertions, 2 deletions
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 |