summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/ohci_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/ohci_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/ohci_cardbus.c')
-rw-r--r--sys/dev/cardbus/ohci_cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/ohci_cardbus.c b/sys/dev/cardbus/ohci_cardbus.c
index d0c09e25d40..5df15b2f135 100644
--- a/sys/dev/cardbus/ohci_cardbus.c
+++ b/sys/dev/cardbus/ohci_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci_cardbus.c,v 1.7 2006/07/12 06:26:34 jolan Exp $ */
+/* $OpenBSD: ohci_cardbus.c,v 1.8 2006/10/12 16:35:52 grange Exp $ */
/* $NetBSD: ohci_cardbus.c,v 1.19 2004/08/02 19:14:28 mycroft Exp $ */
/*
@@ -144,7 +144,7 @@ ohci_cardbus_attach(struct device *parent, struct device *self, void *aux)
| CARDBUS_COMMAND_MEM_ENABLE);
sc->sc_ih = cardbus_intr_establish(cc, cf, ca->ca_intrline,
- IPL_USB, ohci_intr, sc);
+ IPL_USB, ohci_intr, sc, devname);
if (sc->sc_ih == NULL) {
printf("%s: couldn't establish interrupt\n", devname);
return;