diff options
Diffstat (limited to 'sys/dev/pcmcia/if_an_pcmcia.c')
-rw-r--r-- | sys/dev/pcmcia/if_an_pcmcia.c | 10 |
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; |