summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_ep_pcmcia.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pcmcia/if_ep_pcmcia.c')
-rw-r--r--sys/dev/pcmcia/if_ep_pcmcia.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pcmcia/if_ep_pcmcia.c b/sys/dev/pcmcia/if_ep_pcmcia.c
index ae8524b3574..620accd537a 100644
--- a/sys/dev/pcmcia/if_ep_pcmcia.c
+++ b/sys/dev/pcmcia/if_ep_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ep_pcmcia.c,v 1.26 2000/09/15 22:28:52 aaron Exp $ */
+/* $OpenBSD: if_ep_pcmcia.c,v 1.27 2001/08/17 21:52:16 deraadt Exp $ */
/* $NetBSD: if_ep_pcmcia.c,v 1.16 1998/08/17 23:20:40 thorpej Exp $ */
/*-
@@ -211,7 +211,8 @@ ep_pcmcia_enable(sc)
struct pcmcia_function *pf = psc->sc_pf;
/* establish the interrupt. */
- sc->sc_ih = pcmcia_intr_establish(pf, IPL_NET, epintr, sc);
+ sc->sc_ih = pcmcia_intr_establish(pf, IPL_NET, epintr,
+ sc, sc->sc_dev.dv_xname);
if (sc->sc_ih == NULL) {
printf("%s: couldn't establish interrupt\n",
sc->sc_dev.dv_xname);
@@ -371,7 +372,8 @@ ep_pcmcia_attach(parent, self, aux)
#endif
/* establish the interrupt. */
- sc->sc_ih = pcmcia_intr_establish(pa->pf, IPL_NET, epintr, sc);
+ sc->sc_ih = pcmcia_intr_establish(pa->pf, IPL_NET, epintr,
+ sc, "");
if (sc->sc_ih == NULL)
printf(", couldn't establish interrupt");
@@ -417,10 +419,8 @@ ep_pcmcia_activate(dev, act)
switch (act) {
case DVACT_ACTIVATE:
pcmcia_function_enable(sc->sc_pf);
- printf("%s:", esc->sc_dev.dv_xname);
- sc->sc_ep.sc_ih =
- pcmcia_intr_establish(sc->sc_pf, IPL_NET, epintr, sc);
- printf("\n");
+ sc->sc_ep.sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_NET,
+ epintr, sc, esc->sc_dev.dv_xname);
epinit(esc);
break;