summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/tc/cfb.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-08-09 16:42:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-08-09 16:42:31 +0000
commit4ac44f2878f559af524d3b29ccc822b21ae65380 (patch)
tree4d29492ae25ec6e1e0eba0e1e8b0106ba3361438 /sys/arch/alpha/tc/cfb.c
parent11754e7098bbd7d4f9264fad171e37e92967d7b1 (diff)
Pass a device name to {tc,tcds,ioasic}_intr_establish in order to get
meaningful names associated to the interrupt counters.
Diffstat (limited to 'sys/arch/alpha/tc/cfb.c')
-rw-r--r--sys/arch/alpha/tc/cfb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/alpha/tc/cfb.c b/sys/arch/alpha/tc/cfb.c
index f99dc77252e..05b37899b62 100644
--- a/sys/arch/alpha/tc/cfb.c
+++ b/sys/arch/alpha/tc/cfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfb.c,v 1.19 2007/11/06 18:20:05 miod Exp $ */
+/* $OpenBSD: cfb.c,v 1.20 2008/08/09 16:42:29 miod Exp $ */
/* $NetBSD: cfb.c,v 1.7 1996/12/05 01:39:39 cgd Exp $ */
/*
@@ -219,7 +219,8 @@ cfbattach(parent, self, aux)
sc->sc_dc->dc_depth);
/* Establish an interrupt handler, and clear any pending interrupts */
- tc_intr_establish(parent, ta->ta_cookie, IPL_TTY, cfbintr, sc);
+ tc_intr_establish(parent, ta->ta_cookie, IPL_TTY, cfbintr, sc,
+ self->dv_xname);
*(volatile u_int32_t *)(sc->sc_dc->dc_vaddr + CFB_IREQCTRL_OFFSET) = 0;
/* initialize the raster */