Subject: port-mac68k/3821: Add support for Apple Portrait Video Card
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kei_sun@ba2.so-net.or.jp>
List: netbsd-bugs
Date: 07/02/1997 02:13:41
>Number: 3821
>Category: port-mac68k
>Synopsis: add support for Apple Portrait Video Card
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Jul 1 10:20:01 1997
>Last-Modified:
>Originator: SUNAGAWA Keiki
>Organization:
>Release: 2 July 1997
>Environment:
Macintosh IIci, Portrait Video Card, Portrait Display
System: NetBSD pppce8c 1.2E NetBSD 1.2E (MINT) #53: Wed Jun 4 00:13:52 JST 1997 kei@mint:/current/src/sys/arch/mac68k/compile/MINT mac68k
>Description:
Portrait Video Card's DRHW number is missing.
>How-To-Repeat:
>Fix:
Here are the patches. The card's interrupt routine is very
similar to another Apple's (NuBus/on-board) video cards.
--- grf_mv.c.orig Tue May 13 20:19:06 1997
+++ grf_mv.c Mon Jun 30 23:52:00 1997
@@ -226,6 +226,7 @@
switch (sc->card_id) {
case NUBUS_DRHW_M2HRVC:
case NUBUS_DRHW_TFB:
+ case NUBUS_DRHW_PVC:
sc->cli_offset = 0xa0000;
sc->cli_value = 0;
add_nubus_intr(na->slot, grfmv_intr_generic, sc);
--- nubus.h.orig Mon May 12 20:40:23 1997
+++ nubus.h Sat Jun 7 09:59:19 1997
@@ -55,6 +55,7 @@
#define NUBUS_DRHW_WVC 0x0006 /* Apple Workstation Video Card */
#define NUBUS_DRHW_SE30 0x0009
#define NUBUS_DRHW_M2HRVC 0x0013 /* Apple Mac II High-Res Video Card */
+#define NUBUS_DRHW_PVC 0x0017 /* Apple Mac II Portrait Video Card */
#define NUBUS_DRHW_CB264 0x013B /* RasterOps ColorBoard 264 */
#define NUBUS_DRHW_MICRON 0x0146
#define NUBUS_DRHW_CB364 0x026F /* RasterOps ColorBoard 364 */
>Audit-Trail:
>Unformatted: