From 4ac44f2878f559af524d3b29ccc822b21ae65380 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 9 Aug 2008 16:42:31 +0000 Subject: Pass a device name to {tc,tcds,ioasic}_intr_establish in order to get meaningful names associated to the interrupt counters. --- sys/dev/tc/if_fta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/tc/if_fta.c') 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); -- cgit v1.2.3