diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-26 21:21:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-11-26 21:21:29 +0000 |
commit | 5382705f9a2199c8dd490a0ac41b017d64b3743f (patch) | |
tree | 9517faaf4c7ba66f21314d16609b29cce6675d3d /sys/arch/mac68k/dev/zs.c | |
parent | 4157921535281a74d8ad3b91b803cdead55d4792 (diff) |
More interrupt system cleaning and homogenization:
- switch all interrupt functions to an int (*)(void *) prototype.
- do not register dummy functions for all unhandled interrupts, instead
let the dispatchers cope with NULL.
- add evcount interrupt counters.
Diffstat (limited to 'sys/arch/mac68k/dev/zs.c')
-rw-r--r-- | sys/arch/mac68k/dev/zs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mac68k/dev/zs.c b/sys/arch/mac68k/dev/zs.c index e8f6f83416b..7584da404b3 100644 --- a/sys/arch/mac68k/dev/zs.c +++ b/sys/arch/mac68k/dev/zs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zs.c,v 1.16 2004/11/25 18:32:10 miod Exp $ */ +/* $OpenBSD: zs.c,v 1.17 2004/11/26 21:21:24 miod Exp $ */ /* $NetBSD: zs.c,v 1.19 1998/01/12 19:22:18 thorpej Exp $ */ /* @@ -257,7 +257,7 @@ zsc_attach(parent, self, aux) struct device *self; void *aux; { - struct zsc_softc *zsc = (void *) self; + struct zsc_softc *zsc = (void *)self; struct zsc_attach_args zsc_args; volatile struct zschan *zc; struct xzs_chanstate *xcs; @@ -418,7 +418,7 @@ zsc_attach(parent, self, aux) add_psc_lev4_intr(2, zshard, zsc); add_psc_lev4_intr(3, zshard, zsc); } else { - intr_establish(zshard, zsc, ZSHARD_PRI); + intr_establish(zshard, zsc, ZSHARD_PRI, self->dv_xname); } /* XXX - Now safe to install interrupt handlers. */ |