summaryrefslogtreecommitdiff
path: root/sys/dev/isa/isavar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:06:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:06:49 +0000
commit19c4b654cc723df0e419fd9f12197f491b1bc1d4 (patch)
treee1ec3cdc5db2c1ca3593846ae053d0595186ead5 /sys/dev/isa/isavar.h
parent043773b2a500f1f422b5db3eca46befb28d8a7af (diff)
from netbsd:
The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
Diffstat (limited to 'sys/dev/isa/isavar.h')
-rw-r--r--sys/dev/isa/isavar.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/sys/dev/isa/isavar.h b/sys/dev/isa/isavar.h
index 96fc2455992..05b6b317c9a 100644
--- a/sys/dev/isa/isavar.h
+++ b/sys/dev/isa/isavar.h
@@ -102,27 +102,11 @@ struct isa_softc {
*/
/* ISA interrupt sharing types */
-typedef enum {
- ISA_IST_NONE = 0, /* not yet assigned */
- ISA_IST_PULSE, /* pulsed */
- ISA_IST_EDGE, /* edge-triggered */
- ISA_IST_LEVEL /* level-triggered */
-} isa_intrtype;
-
-/* ISA interrupt levels; system interrupt levels for ISA bus use */
-typedef enum {
- ISA_IPL_NONE, /* block only the interrupt's IRQ*/
- ISA_IPL_BIO, /* block I/O interrupts */
- ISA_IPL_NET, /* network */
- ISA_IPL_TTY, /* terminal */
- ISA_IPL_CLOCK, /* clock */
-} isa_intrlevel;
-
void isascan __P((struct device *parent, void *match));
-void *isa_intr_establish __P((int intr, isa_intrtype type,
- isa_intrlevel level, int (*ih_fun)(void *), void *ih_arg));
+void *isa_intr_establish __P((int intr, int type, int level,
+ int (*ih_fun)(void *), void *ih_arg));
void isa_intr_disestablish __P((void *handler));
-char *isa_intr_typename __P((isa_intrtype type));
+char *isa_intr_typename __P((int type));
#ifdef NEWCONFIG
/*