summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_cnw.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-27 17:04:57 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-27 17:04:57 +0000
commite2e21911f37c4003cbf60a7f2cf01287dbf71565 (patch)
tree11e0f79fe51124bcf8a0805a8771ccd372bdc2c6 /sys/dev/pcmcia/if_cnw.c
parent7b4677abf4abc2b0e1c8b1d23b4f711f4839f65c (diff)
Use pcmcia_intr_string() for printing the irq (or error) string.
Diffstat (limited to 'sys/dev/pcmcia/if_cnw.c')
-rw-r--r--sys/dev/pcmcia/if_cnw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c
index a7ea66defa7..fdf7b662f8f 100644
--- a/sys/dev/pcmcia/if_cnw.c
+++ b/sys/dev/pcmcia/if_cnw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cnw.c,v 1.14 2004/05/12 06:35:11 tedu Exp $ */
+/* $OpenBSD: if_cnw.c,v 1.15 2005/01/27 17:04:55 millert Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -315,7 +315,7 @@ cnw_enable(sc)
struct ifnet *ifp = &sc->sc_arpcom.ac_if;
sc->sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_NET,
- cnw_intr, sc, "");
+ cnw_intr, sc, sc->sc_dev.dv_xname);
if (sc->sc_ih == NULL) {
printf("%s: couldn't establish interrupt handler\n",
sc->sc_dev.dv_xname);