diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-10-12 16:35:53 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-10-12 16:35:53 +0000 |
commit | ceb8e7fc2476b3fef728bffeacd7694ec28ce742 (patch) | |
tree | be64faa6d099220b50b47cfe27a9ee27abfd4c84 /sys/dev/cardbus/if_re_cardbus.c | |
parent | 9c7b7f1d9fe940ad2f99599f6bc1f660651a587d (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_re_cardbus.c')
-rw-r--r-- | sys/dev/cardbus/if_re_cardbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_re_cardbus.c b/sys/dev/cardbus/if_re_cardbus.c index 1adcf334e41..41d75db40d7 100644 --- a/sys/dev/cardbus/if_re_cardbus.c +++ b/sys/dev/cardbus/if_re_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_re_cardbus.c,v 1.9 2006/09/19 07:23:02 mickey Exp $ */ +/* $OpenBSD: if_re_cardbus.c,v 1.10 2006/10/12 16:35:52 grange Exp $ */ /* * Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org> @@ -150,7 +150,7 @@ re_cardbus_attach(struct device *parent, struct device *self, void *aux) /* Allocate interrupt */ csc->sc_ih = cardbus_intr_establish(cc, cf, csc->sc_intrline, - IPL_NET, re_intr, sc); + IPL_NET, re_intr, sc, sc->sc_dev.dv_xname); if (csc->sc_ih == NULL) { printf(": couldn't establish interrupt at %s", ca->ca_intrline); |