diff options
Diffstat (limited to 'sys/arch/sparc64/include/intr.h')
-rw-r--r-- | sys/arch/sparc64/include/intr.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/intr.h b/sys/arch/sparc64/include/intr.h index d073d649b2e..539e41abc4c 100644 --- a/sys/arch/sparc64/include/intr.h +++ b/sys/arch/sparc64/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.7 2004/06/23 01:17:01 aaron Exp $ */ +/* $OpenBSD: intr.h,v 1.8 2004/06/28 01:47:41 aaron Exp $ */ /* $NetBSD: intr.h,v 1.8 2001/01/14 23:50:30 thorpej Exp $ */ /*- @@ -44,6 +44,8 @@ #include <sparc64/sparc64/intreg.h> #endif +#include <sys/evcount.h> + /* * Interrupt handler chains. Interrupt handlers should return 0 for * ``not me'' or 1 (``I took care of it''). intr_establish() inserts a @@ -61,9 +63,9 @@ struct intrhand { struct intrhand *ih_pending; /* pending list */ volatile u_int64_t *ih_map; /* interrupt map reg */ volatile u_int64_t *ih_clr; /* clear interrupt reg */ - u_int64_t ih_count; /* # of interrupts */ + struct evcount ih_count; /* # of interrupts */ const void *ih_bus; /* parent bus */ - char ih_name[1]; /* device name */ + char ih_name[32]; /* device name */ }; extern struct intrhand *intrlev[MAXINTNUM]; |