summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/if_sn_nubus.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-11-26 21:21:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-11-26 21:21:29 +0000
commit5382705f9a2199c8dd490a0ac41b017d64b3743f (patch)
tree9517faaf4c7ba66f21314d16609b29cce6675d3d /sys/arch/mac68k/dev/if_sn_nubus.c
parent4157921535281a74d8ad3b91b803cdead55d4792 (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/if_sn_nubus.c')
-rw-r--r--sys/arch/mac68k/dev/if_sn_nubus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/if_sn_nubus.c b/sys/arch/mac68k/dev/if_sn_nubus.c
index c05b8de97e3..e8732920cfd 100644
--- a/sys/arch/mac68k/dev/if_sn_nubus.c
+++ b/sys/arch/mac68k/dev/if_sn_nubus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sn_nubus.c,v 1.15 2002/04/22 20:15:55 miod Exp $ */
+/* $OpenBSD: if_sn_nubus.c,v 1.16 2004/11/26 21:21:24 miod Exp $ */
/* $NetBSD: if_sn_nubus.c,v 1.13 1997/05/11 19:11:34 scottr Exp $ */
/*
* Copyright (C) 1997 Allen Briggs
@@ -262,7 +262,7 @@ sn_nubus_attach(parent, self, aux)
return;
}
- add_nubus_intr(sc->slotno, snintr, (void *)sc);
+ add_nubus_intr(sc->slotno, snintr, sc, sc->sc_dev.dv_xname);
}
static int