Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/tc Fix long-standing error in interrupt index ...



details:   https://anonhg.NetBSD.org/src/rev/7b9708db792c
branches:  trunk
changeset: 572436:7b9708db792c
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Sun Jan 02 22:34:57 2005 +0000

description:
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.

diffstat:

 sys/arch/pmax/tc/tc_maxine.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0ea07bc365ce -r 7b9708db792c sys/arch/pmax/tc/tc_maxine.c
--- a/sys/arch/pmax/tc/tc_maxine.c      Sun Jan 02 22:00:14 2005 +0000
+++ b/sys/arch/pmax/tc/tc_maxine.c      Sun Jan 02 22:34:57 2005 +0000
@@ -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 <sys/cdefs.h>                 /* 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 <sys/param.h>
 #include <sys/systm.h>
@@ -58,7 +58,7 @@
 
 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 = {



Home | Main Index | Thread Index | Old Index