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/tcvar.h | |
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/tcvar.h')
-rw-r--r-- | sys/dev/tc/tcvar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/tc/tcvar.h b/sys/dev/tc/tcvar.h index 5c1d72fbf1d..d5bd23188ac 100644 --- a/sys/dev/tc/tcvar.h +++ b/sys/dev/tc/tcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcvar.h,v 1.13 2007/11/06 18:20:07 miod Exp $ */ +/* $OpenBSD: tcvar.h,v 1.14 2008/08/09 16:42:30 miod Exp $ */ /* $NetBSD: tcvar.h,v 1.17 2000/06/04 19:15:15 cgd Exp $ */ /* @@ -51,7 +51,7 @@ struct tc_softc { struct tc_slotdesc *sc_slots; void (*sc_intr_establish)(struct device *, void *, - int, int (*)(void *), void *); + int, int (*)(void *), void *, const char *); void (*sc_intr_disestablish)(struct device *, void *); bus_dma_tag_t (*sc_get_dma_tag)(int); }; @@ -73,7 +73,7 @@ struct tcbus_attach_args { /* TC bus resource management; XXX will move elsewhere eventually. */ void (*tba_intr_establish)(struct device *, void *, - int, int (*)(void *), void *); + int, int (*)(void *), void *, const char *); void (*tba_intr_disestablish)(struct device *, void *); bus_dma_tag_t (*tba_get_dma_tag)(int); }; @@ -121,7 +121,7 @@ int tc_checkslot(tc_addr_t, char *); void tc_devinfo(const char *, char *, size_t); void tcattach(struct device *, struct device *, void *); void tc_intr_establish(struct device *, void *, int, int (*)(void *), - void *); + void *, const char *); void tc_intr_disestablish(struct device *, void *); /* |