summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/if_xl_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_xl_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_xl_cardbus.c')
-rw-r--r--sys/dev/cardbus/if_xl_cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_xl_cardbus.c b/sys/dev/cardbus/if_xl_cardbus.c
index eff00c04d4d..c32295198c4 100644
--- a/sys/dev/cardbus/if_xl_cardbus.c
+++ b/sys/dev/cardbus/if_xl_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xl_cardbus.c,v 1.17 2006/08/10 20:10:19 brad Exp $ */
+/* $OpenBSD: if_xl_cardbus.c,v 1.18 2006/10/12 16:35:52 grange Exp $ */
/* $NetBSD: if_xl_cardbus.c,v 1.13 2000/03/07 00:32:52 mycroft Exp $ */
/*
@@ -283,7 +283,7 @@ xl_cardbus_attach(struct device *parent, struct device *self, void *aux)
/* Map and establish the interrupt. */
sc->xl_intrhand = cardbus_intr_establish(cc, cf, ca->ca_intrline,
- IPL_NET, xl_intr, csc);
+ IPL_NET, xl_intr, csc, self->dv_xname);
if (sc->xl_intrhand == NULL) {
printf(": couldn't establish interrupt");