summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/if_atw_cardbus.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2006-10-12 16:35:53 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2006-10-12 16:35:53 +0000
commitceb8e7fc2476b3fef728bffeacd7694ec28ce742 (patch)
treebe64faa6d099220b50b47cfe27a9ee27abfd4c84 /sys/dev/cardbus/if_atw_cardbus.c
parent9c7b7f1d9fe940ad2f99599f6bc1f660651a587d (diff)
Add a symbolic name parameter to cardbus_intr_establish().
Count cardbus devices interrupts in cbb(4) using evcount(9). ok deraadt@
Diffstat (limited to 'sys/dev/cardbus/if_atw_cardbus.c')
-rw-r--r--sys/dev/cardbus/if_atw_cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_atw_cardbus.c b/sys/dev/cardbus/if_atw_cardbus.c
index a692372e9b7..539de21a5bc 100644
--- a/sys/dev/cardbus/if_atw_cardbus.c
+++ b/sys/dev/cardbus/if_atw_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atw_cardbus.c,v 1.13 2006/06/21 11:27:03 fkr Exp $ */
+/* $OpenBSD: if_atw_cardbus.c,v 1.14 2006/10/12 16:35:52 grange Exp $ */
/* $NetBSD: if_atw_cardbus.c,v 1.9 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -287,7 +287,7 @@ atw_cardbus_enable(struct atw_softc *sc)
* Map and establish the interrupt.
*/
csc->sc_ih = cardbus_intr_establish(cc, cf, csc->sc_intrline, IPL_NET,
- atw_intr, sc);
+ atw_intr, sc, sc->sc_dev.dv_xname);
if (csc->sc_ih == NULL) {
printf("%s: unable to establish interrupt at %d\n",
sc->sc_dev.dv_xname, csc->sc_intrline);