From 8bc24fad8f2094e7e7d857904b70610143fbe8c1 Mon Sep 17 00:00:00 2001 From: mhitch Date: Sun, 2 Jan 2005 22:34:57 +0000 Subject: [PATCH] Fix long-standing error in interrupt index for Maxine built-in graphics card. It was using the same index as the Ethernet interface, but didn't cause any problems until the new xcfb.c driver installed an interrupt handler. Ethernet interrupts went to the xcfb.c interrupt handler and hung machine. --- sys/arch/pmax/tc/tc_maxine.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/pmax/tc/tc_maxine.c b/sys/arch/pmax/tc/tc_maxine.c index 39b4df7ddb43..13cafd7eb3b1 100644 --- a/sys/arch/pmax/tc/tc_maxine.c +++ b/sys/arch/pmax/tc/tc_maxine.c @@ -1,4 +1,4 @@ -/* $NetBSD: tc_maxine.c,v 1.6 2000/06/04 19:14:57 cgd Exp $ */ +/* $NetBSD: tc_maxine.c,v 1.7 2005/01/02 22:34:57 mhitch Exp $ */ /* * Copyright (c) 1998 Jonathan Stone. All rights reserved. @@ -31,7 +31,7 @@ */ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: tc_maxine.c,v 1.6 2000/06/04 19:14:57 cgd Exp $ "); +__KERNEL_RCSID(0, "$NetBSD: tc_maxine.c,v 1.7 2005/01/02 22:34:57 mhitch Exp $ "); #include #include @@ -58,7 +58,7 @@ static struct tc_slotdesc tc_xine_slots [4] = { const struct tc_builtin tc_xine_builtins[] = { { "IOCTL ", 3, 0x0, C(3), }, - { "PMAG-DV ", 2, 0x0, C(2), }, /* pretend as a TC device */ + { "PMAG-DV ", 2, 0x0, C(SYS_DEV_OPT2), }, /* pretend as a TC device */ }; struct tcbus_attach_args xine_tc_desc = {