(1) Clean up interrupt handling slightly.

This commit is contained in:
cgd 1996-07-14 04:06:27 +00:00
parent 38a0da40ee
commit 9905bce8a5
4 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tc_3000_300.c,v 1.9 1996/07/09 00:55:25 cgd Exp $ */
/* $NetBSD: tc_3000_300.c,v 1.10 1996/07/14 04:06:27 cgd Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -46,7 +46,7 @@ void tc_3000_300_intr_setup __P((void));
void tc_3000_300_intr_establish __P((struct device *, void *,
tc_intrlevel_t, int (*)(void *), void *));
void tc_3000_300_intr_disestablish __P((struct device *, void *));
void tc_3000_300_iointr __P((void *, int));
void tc_3000_300_iointr __P((void *, unsigned long));
int tc_3000_300_intrnull __P((void *));
@ -184,7 +184,7 @@ tc_3000_300_intrnull(val)
void
tc_3000_300_iointr(framep, vec)
void *framep;
int vec;
unsigned long vec;
{
u_int32_t tcir, ioasicir, ioasicimr;
int ifound;
@ -192,7 +192,7 @@ tc_3000_300_iointr(framep, vec)
#ifdef DIAGNOSTIC
int s;
if (vec != 0x800)
panic("INVALID ASSUMPTION: vec %x, not 0x800", vec);
panic("INVALID ASSUMPTION: vec 0x%lx, not 0x800", vec);
s = splhigh();
if (s != ALPHA_PSL_IPL_IO)
panic("INVALID ASSUMPTION: IPL %d, not %d", s,

View File

@ -1,4 +1,4 @@
/* $NetBSD: tc_3000_500.c,v 1.8 1996/07/09 00:55:29 cgd Exp $ */
/* $NetBSD: tc_3000_500.c,v 1.9 1996/07/14 04:06:28 cgd Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -45,7 +45,7 @@ void tc_3000_500_intr_setup __P((void));
void tc_3000_500_intr_establish __P((struct device *, void *,
tc_intrlevel_t, int (*)(void *), void *));
void tc_3000_500_intr_disestablish __P((struct device *, void *));
void tc_3000_500_iointr __P((void *, int));
void tc_3000_500_iointr __P((void *, unsigned long));
int tc_3000_500_intrnull __P((void *));
@ -175,7 +175,7 @@ tc_3000_500_intrnull(val)
void
tc_3000_500_iointr(framep, vec)
void *framep;
int vec;
unsigned long vec;
{
u_int32_t ir;
int ifound;
@ -183,7 +183,7 @@ tc_3000_500_iointr(framep, vec)
#ifdef DIAGNOSTIC
int s;
if (vec != 0x800)
panic("INVALID ASSUMPTION: vec %x, not 0x800", vec);
panic("INVALID ASSUMPTION: vec 0x%lx, not 0x800", vec);
s = splhigh();
if (s != ALPHA_PSL_IPL_IO)
panic("INVALID ASSUMPTION: IPL %d, not %d", s,

View File

@ -1,4 +1,4 @@
/* $NetBSD: tc_conf.h,v 1.1 1995/12/20 00:43:32 cgd Exp $ */
/* $NetBSD: tc_conf.h,v 1.2 1996/07/14 04:06:30 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -33,7 +33,7 @@
#ifdef DEC_3000_500
extern void tc_3000_500_intr_setup __P((void));
extern void tc_3000_500_iointr __P((void *, int));
extern void tc_3000_500_iointr __P((void *, unsigned long));
extern void tc_3000_500_intr_establish __P((struct device *, void *,
tc_intrlevel_t, int (*)(void *), void *));
@ -47,7 +47,7 @@ extern struct tc_builtin tc_3000_500_builtins[];
#ifdef DEC_3000_300
extern void tc_3000_300_intr_setup __P((void));
extern void tc_3000_300_iointr __P((void *, int));
extern void tc_3000_300_iointr __P((void *, unsigned long));
extern void tc_3000_300_intr_establish __P((struct device *, void *,
tc_intrlevel_t, int (*)(void *), void *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcasic.c,v 1.6 1996/07/09 00:55:36 cgd Exp $ */
/* $NetBSD: tcasic.c,v 1.7 1996/07/14 04:06:31 cgd Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -86,7 +86,7 @@ tcasicattach(parent, self, aux)
{
struct tcbus_attach_args tba;
void (*intr_setup) __P((void));
void (*iointr) __P((void *, int));
void (*iointr) __P((void *, unsigned long));
struct alpha_bus_chipset bc;
printf("\n");