From ca0531b7f4014961081c55da1817e1242475fa07 Mon Sep 17 00:00:00 2001 From: briggs Date: Tue, 1 Apr 1997 13:31:38 +0000 Subject: [PATCH] Add DrHW for RasterOps CB264--From Scott Reynolds--and link it in to the proper interrupt routine. --- sys/arch/mac68k/dev/grf_mv.c | 5 ++++- sys/arch/mac68k/dev/nubus.h | 3 ++- sys/arch/mac68k/nubus/grf_nubus.c | 5 ++++- sys/arch/mac68k/nubus/nubus.h | 3 ++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/sys/arch/mac68k/dev/grf_mv.c b/sys/arch/mac68k/dev/grf_mv.c index 50206cf1cf14..0e894b8fb07c 100644 --- a/sys/arch/mac68k/dev/grf_mv.c +++ b/sys/arch/mac68k/dev/grf_mv.c @@ -1,4 +1,4 @@ -/* $NetBSD: grf_mv.c,v 1.18 1997/04/01 05:42:00 briggs Exp $ */ +/* $NetBSD: grf_mv.c,v 1.19 1997/04/01 13:31:38 briggs Exp $ */ /* * Copyright (c) 1995 Allen Briggs. All rights reserved. @@ -228,6 +228,9 @@ grfmv_attach(parent, self, aux) case NUBUS_DRHW_SAM768: add_nubus_intr(sc->sc_slot.slot, grfmv_intr_cti, sc); break; + case NUBUS_DRHW_CB264: + add_nubus_intr(sc->sc_slot.slot, grfmv_intr_cb264, sc); + break; case NUBUS_DRHW_MICRON: /* What do we know about this one? */ default: diff --git a/sys/arch/mac68k/dev/nubus.h b/sys/arch/mac68k/dev/nubus.h index 287e318d5958..19f3dab004d3 100644 --- a/sys/arch/mac68k/dev/nubus.h +++ b/sys/arch/mac68k/dev/nubus.h @@ -1,4 +1,4 @@ -/* $NetBSD: nubus.h,v 1.18 1997/03/30 19:51:57 briggs Exp $ */ +/* $NetBSD: nubus.h,v 1.19 1997/04/01 13:31:39 briggs Exp $ */ /* * Copyright (c) 1995 Allen Briggs. All rights reserved. @@ -54,6 +54,7 @@ #define NUBUS_DRHW_TFB 0x0001 #define NUBUS_DRHW_WVC 0x0006 #define NUBUS_DRHW_M2HRVC 0x0013 +#define NUBUS_DRHW_CB264 0x013B #define NUBUS_DRHW_MICRON 0x0146 /* False DrHW values for video cards masquerading as other cards */ diff --git a/sys/arch/mac68k/nubus/grf_nubus.c b/sys/arch/mac68k/nubus/grf_nubus.c index 808baf6d1ba0..1fdf6a7bd408 100644 --- a/sys/arch/mac68k/nubus/grf_nubus.c +++ b/sys/arch/mac68k/nubus/grf_nubus.c @@ -1,4 +1,4 @@ -/* $NetBSD: grf_nubus.c,v 1.18 1997/04/01 05:42:00 briggs Exp $ */ +/* $NetBSD: grf_nubus.c,v 1.19 1997/04/01 13:31:38 briggs Exp $ */ /* * Copyright (c) 1995 Allen Briggs. All rights reserved. @@ -228,6 +228,9 @@ grfmv_attach(parent, self, aux) case NUBUS_DRHW_SAM768: add_nubus_intr(sc->sc_slot.slot, grfmv_intr_cti, sc); break; + case NUBUS_DRHW_CB264: + add_nubus_intr(sc->sc_slot.slot, grfmv_intr_cb264, sc); + break; case NUBUS_DRHW_MICRON: /* What do we know about this one? */ default: diff --git a/sys/arch/mac68k/nubus/nubus.h b/sys/arch/mac68k/nubus/nubus.h index 287e318d5958..19f3dab004d3 100644 --- a/sys/arch/mac68k/nubus/nubus.h +++ b/sys/arch/mac68k/nubus/nubus.h @@ -1,4 +1,4 @@ -/* $NetBSD: nubus.h,v 1.18 1997/03/30 19:51:57 briggs Exp $ */ +/* $NetBSD: nubus.h,v 1.19 1997/04/01 13:31:39 briggs Exp $ */ /* * Copyright (c) 1995 Allen Briggs. All rights reserved. @@ -54,6 +54,7 @@ #define NUBUS_DRHW_TFB 0x0001 #define NUBUS_DRHW_WVC 0x0006 #define NUBUS_DRHW_M2HRVC 0x0013 +#define NUBUS_DRHW_CB264 0x013B #define NUBUS_DRHW_MICRON 0x0146 /* False DrHW values for video cards masquerading as other cards */