Subject: port-mac68k/4348: Add support for Futura-SX video card
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@whooppee.com>
List: netbsd-bugs
Date: 10/25/1997 14:00:14
>Number:         4348
>Category:       port-mac68k
>Synopsis:       Add support for Futura-SX video card
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 25 14:05:01 1997
>Last-Modified:
>Originator:     Paul Goyette
>Organization:
>Release:        Oct 25 1997
>Environment:
	System: NetBSD mac1.whooppee.com 1.2G NetBSD 1.2G (SM) #34: Sat Sep 27 09:06:33 PDT 1997 paul@mac1.whooppee.com:/home/paul/src/sys/arch/mac68k/compile/SM (current as of Fri Sep 26 04:32:47 1997) mac68k


>Description:
	Add support for E-Machines Futura-SX video card - interrupts are
	disabled the same way as other E-Machines video cards.
>How-To-Repeat:
	Without this patch, the video card in question generates continuous
	nubus interrupts.
>Fix:

--- /usr/src/sys/arch/mac68k/dev/nubus.h	Thu Oct  9 16:27:46 1997
+++ nubus.h	Sat Oct 25 13:51:32 1997
@@ -64,6 +64,7 @@
 #define    NUBUS_DRHW_SPECTRUM	0x017c	/* SuperMac Spectrum/24 Series III */
 #define    NUBUS_DRHW_CB364	0x026F	/* RasterOps ColorBoard 364 */
 #define	   NUBUS_DRHW_RPC8	0x0291	/* Radius PrecisionColor 8 */
+#define	   NUBUS_DRHW_FUTURASX	0x02ae	/* E-Machines Futura-SX */
 #define    NUBUS_DRHW_THUNDER24	0x02CB	/* SuperMac Thunder/24 */
 #define	   NUBUS_DRHW_RPC8XJ	0x040B	/* Radius PrecisionColor 8xj */
 #define	   NUBUS_DRHW_FIILX	0x0417	/* Futura II LX */
--- /usr/src/sys/arch/mac68k/dev/grf_mv.c	Thu Oct  9 16:27:44 1997
+++ grf_mv.c	Sat Oct 25 13:52:42 1997
@@ -270,6 +270,7 @@
 		break;
 	case NUBUS_DRHW_FIILX:
 	case NUBUS_DRHW_FIISXDSP:
+	case NUBUS_DRHW_FUTURASX:
 		sc->cli_offset = 0xf05000;
 		sc->cli_value = 0x80;
 		add_nubus_intr(na->slot, grfmv_intr_generic_1, sc);
>Audit-Trail:
>Unformatted: