summaryrefslogtreecommitdiff
path: root/sys/dev/tc/if_le_tc.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_le_tc.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_le_tc.c')
-rw-r--r--sys/dev/tc/if_le_tc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/tc/if_le_tc.c b/sys/dev/tc/if_le_tc.c
index e8beb43b655..f3df7ea9aa9 100644
--- a/sys/dev/tc/if_le_tc.c
+++ b/sys/dev/tc/if_le_tc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le_tc.c,v 1.9 2007/11/06 18:20:07 miod Exp $ */
+/* $OpenBSD: if_le_tc.c,v 1.10 2008/08/09 16:42:30 miod Exp $ */
/* $NetBSD: if_le_tc.c,v 1.12 2001/11/13 06:26:10 lukem Exp $ */
/*
@@ -105,5 +105,6 @@ le_tc_attach(struct device *parent, struct device *self, void *aux)
dec_le_common_attach(&lesc->sc_am7990,
(u_char *)(d->ta_addr + LE_OFFSET_ROM + 2));
- tc_intr_establish(parent, d->ta_cookie, IPL_NET, am7990_intr, sc);
+ tc_intr_establish(parent, d->ta_cookie, IPL_NET, am7990_intr, sc,
+ self->dv_xname);
}