summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_an_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_an_pcmcia.c
parent4eaefd11adca006e8c394f6504d254a7d08bf545 (diff)
quieten pcmcia/cardbus interrupt handling at unsuspend time
Diffstat (limited to 'sys/dev/pcmcia/if_an_pcmcia.c')
-rw-r--r--sys/dev/pcmcia/if_an_pcmcia.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pcmcia/if_an_pcmcia.c b/sys/dev/pcmcia/if_an_pcmcia.c
index c12691e2688..11bba2d79fd 100644
--- a/sys/dev/pcmcia/if_an_pcmcia.c
+++ b/sys/dev/pcmcia/if_an_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_an_pcmcia.c,v 1.4 2001/04/06 18:02:58 aaron Exp $ */
+/* $OpenBSD: if_an_pcmcia.c,v 1.5 2001/08/17 21:52:16 deraadt Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -130,7 +130,8 @@ an_pcmcia_attach(parent, self, aux)
sc->an_btag = psc->sc_pcioh.iot;
sc->an_bhandle = psc->sc_pcioh.ioh;
- sc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET, an_intr, sc);
+ sc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET,
+ an_intr, sc, "");
if (sc->sc_ih == NULL)
printf("no irq");
@@ -179,9 +180,8 @@ an_pcmcia_activate(dev, act)
switch (act) {
case DVACT_ACTIVATE:
pcmcia_function_enable(psc->sc_pf);
- sc->sc_ih =
- pcmcia_intr_establish(psc->sc_pf, IPL_NET, an_intr, sc);
- printf("\n");
+ sc->sc_ih = pcmcia_intr_establish(psc->sc_pf, IPL_NET,
+ an_intr, sc, sc->sc_dev.dv_xname);
an_init(sc);
break;