summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_rln_pcmcia.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-17 21:52:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-17 21:52:17 +0000
commit54a78f04df78dceb51aab78f8cb1db245ecddc9c (patch)
treea3d1ec59096526b8e7922f2473f7d489e29cf617 /sys/dev/pcmcia/if_rln_pcmcia.c
parent4eaefd11adca006e8c394f6504d254a7d08bf545 (diff)
quieten pcmcia/cardbus interrupt handling at unsuspend time
Diffstat (limited to 'sys/dev/pcmcia/if_rln_pcmcia.c')
-rw-r--r--sys/dev/pcmcia/if_rln_pcmcia.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/dev/pcmcia/if_rln_pcmcia.c b/sys/dev/pcmcia/if_rln_pcmcia.c
index 5c90087c1bd..7ef32a0558f 100644
--- a/sys/dev/pcmcia/if_rln_pcmcia.c
+++ b/sys/dev/pcmcia/if_rln_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rln_pcmcia.c,v 1.11 2000/12/16 21:47:49 mickey Exp $ */
+/* $OpenBSD: if_rln_pcmcia.c,v 1.12 2001/08/17 21:52:16 deraadt Exp $ */
/*
* David Leonard <d@openbsd.org>, 1999. Public domain.
*
@@ -225,7 +225,7 @@ rln_pcmcia_attach(parent, self, aux)
* responses, causes hard lock-ups.
*/
psc->psc_ih = pcmcia_intr_establish(psc->psc_pf, IPL_NET,
- rlnintr_pcmcia, sc);
+ rlnintr_pcmcia, sc, "");
if (psc->psc_ih == NULL)
printf(": couldn't establish interrupt\n",
sc->sc_dev.dv_xname);
@@ -274,11 +274,8 @@ rln_pcmcia_activate(dev, act)
switch (act) {
case DVACT_ACTIVATE:
pcmcia_function_enable(psc->psc_pf);
- printf("%s:", sc->sc_dev.dv_xname);
- psc->psc_ih =
- pcmcia_intr_establish(psc->psc_pf, IPL_NET, rlnintr_pcmcia,
- psc);
- printf("\n");
+ psc->psc_ih = pcmcia_intr_establish(psc->psc_pf, IPL_NET,
+ rlnintr_pcmcia, psc, sc->sc_dev.dv_xname);
rlninit(sc);
break;