diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-09 16:42:31 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-09 16:42:31 +0000 |
commit | 4ac44f2878f559af524d3b29ccc822b21ae65380 (patch) | |
tree | 4d29492ae25ec6e1e0eba0e1e8b0106ba3361438 /sys/dev/tc/if_le_tc.c | |
parent | 11754e7098bbd7d4f9264fad171e37e92967d7b1 (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.c | 5 |
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); } |