summaryrefslogtreecommitdiff
path: root/sys/dev/tc/if_fta.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/dev/tc/if_fta.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/dev/tc/if_fta.c')
-rw-r--r--sys/dev/tc/if_fta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/tc/if_fta.c b/sys/dev/tc/if_fta.c
index 343f8893240..d93fd60a1eb 100644
--- a/sys/dev/tc/if_fta.c
+++ b/sys/dev/tc/if_fta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fta.c,v 1.14 2007/11/06 18:20:07 miod Exp $ */
+/* $OpenBSD: if_fta.c,v 1.15 2008/08/09 16:42:30 miod Exp $ */
/* $NetBSD: if_fta.c,v 1.7 1996/10/22 21:37:26 cgd Exp $ */
/*-
@@ -114,7 +114,7 @@ pdq_tc_attach(parent, self, aux)
pdq_ifattach(sc, NULL);
tc_intr_establish(parent, ta->ta_cookie, IPL_NET,
- (int (*)(void *)) pdq_interrupt, sc->sc_pdq);
+ (int (*)(void *)) pdq_interrupt, sc->sc_pdq, self->dv_xname);
sc->sc_ats = shutdownhook_establish((void (*)(void *)) pdq_hwreset,
sc->sc_pdq);