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/adb_direct.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/adb_direct.c')
-rw-r--r-- | sys/arch/mac68k/dev/adb_direct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mac68k/dev/adb_direct.c b/sys/arch/mac68k/dev/adb_direct.c index 73214a76ef9..f6f747ca974 100644 --- a/sys/arch/mac68k/dev/adb_direct.c +++ b/sys/arch/mac68k/dev/adb_direct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adb_direct.c,v 1.14 2004/11/25 18:32:10 miod Exp $ */ +/* $OpenBSD: adb_direct.c,v 1.15 2004/11/26 21:21:23 miod Exp $ */ /* $NetBSD: adb_direct.c,v 1.5 1997/04/21 18:04:28 scottr Exp $ */ /* From: adb_direct.c 2.02 4/18/97 jpw */ @@ -2152,14 +2152,14 @@ set_adb_info(ADBSetInfoBlock * info, int adbAddr) } #ifndef MRG_ADB -long +int mrg_adbintr(void) { adb_intr(); return 1; /* mimic mrg_adbintr in macrom.h just in case */ } -long +int mrg_pmintr(void) /* we don't do this yet */ { pm_intr(); |