-/* $OpenBSD: com.c,v 1.8 1996/03/19 21:10:09 mickey Exp $ */
+/* $OpenBSD: com.c,v 1.9 1996/03/20 01:00:42 mickey Exp $ */
/* $NetBSD: com.c,v 1.65 1996/02/10 20:23:18 christos Exp $ */
/*-
if (ia->ia_irq != IRQUNK)
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY,
- comintr, sc);
+ comintr, sc, sc->sc_dev.dv_xname);
#ifdef KGDB
if (kgdb_dev == makedev(commajor, unit)) {
-/* $OpenBSD: aha.c,v 1.12 1996/03/19 21:10:02 mickey Exp $ */
+/* $OpenBSD: aha.c,v 1.13 1996/03/20 01:00:35 mickey Exp $ */
/* $NetBSD: aha1542.c,v 1.55 1995/12/24 02:31:06 mycroft Exp $ */
/*
isa_establish(&aha->sc_id, &aha->sc_dev);
#endif
aha->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, ahaintr,
- aha);
+ aha, aha->sc_dev.dv_xname);
/*
* ask the adapter what subunits are present
-/* $OpenBSD: aha1542.c,v 1.12 1996/03/19 21:10:02 mickey Exp $ */
+/* $OpenBSD: aha1542.c,v 1.13 1996/03/20 01:00:35 mickey Exp $ */
/* $NetBSD: aha1542.c,v 1.55 1995/12/24 02:31:06 mycroft Exp $ */
/*
isa_establish(&aha->sc_id, &aha->sc_dev);
#endif
aha->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, ahaintr,
- aha);
+ aha, aha->sc_dev.dv_xname);
/*
* ask the adapter what subunits are present
isa_establish(&ahc->sc_id, &ahc->sc_dev);
#endif
ahc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO,
- ahcintr, ahc);
+ ahcintr, ahc, ahc->sc_dev.dv_xname);
/*
* attach the devices on the bus
isa_establish(&sc->sc_id, &sc->sc_dev);
#endif
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, aicintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
config_found(self, &sc->sc_link, aicprint);
}
-/* $OpenBSD: ast.c,v 1.5 1996/03/19 21:10:06 mickey Exp $ */
+/* $OpenBSD: ast.c,v 1.6 1996/03/20 01:00:39 mickey Exp $ */
/* $NetBSD: ast.c,v 1.18 1995/06/26 04:08:04 cgd Exp $ */
/*
}
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY, astintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
int
-/* $OpenBSD: boca.c,v 1.5 1996/03/19 21:10:07 mickey Exp $ */
+/* $OpenBSD: boca.c,v 1.6 1996/03/20 01:00:40 mickey Exp $ */
/* $NetBSD: boca.c,v 1.6 1995/12/24 02:31:11 mycroft Exp $ */
/*
}
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY, bocaintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
int
-/* $OpenBSD: bt.c,v 1.5 1996/03/19 21:10:08 mickey Exp $ */
+/* $OpenBSD: bt.c,v 1.6 1996/03/20 01:00:41 mickey Exp $ */
/* $NetBSD: bt742a.c,v 1.50 1995/12/24 02:31:13 mycroft Exp $ */
/*
isa_establish(&bt->sc_id, &bt->sc_dev);
#endif
bt->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, btintr,
- bt);
+ bt, bt->sc_dev.dv_xname);
/*
* ask the adapter what subunits are present
-/* $OpenBSD: bt742a.c,v 1.5 1996/03/19 21:10:08 mickey Exp $ */
+/* $OpenBSD: bt742a.c,v 1.6 1996/03/20 01:00:41 mickey Exp $ */
/* $NetBSD: bt742a.c,v 1.50 1995/12/24 02:31:13 mycroft Exp $ */
/*
isa_establish(&bt->sc_id, &bt->sc_dev);
#endif
bt->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, btintr,
- bt);
+ bt, bt->sc_dev.dv_xname);
/*
* ask the adapter what subunits are present
-/* $OpenBSD: com.c,v 1.8 1996/03/19 21:10:09 mickey Exp $ */
+/* $OpenBSD: com.c,v 1.9 1996/03/20 01:00:42 mickey Exp $ */
/* $NetBSD: com.c,v 1.65 1996/02/10 20:23:18 christos Exp $ */
/*-
if (ia->ia_irq != IRQUNK)
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY,
- comintr, sc);
+ comintr, sc, sc->sc_dev.dv_xname);
#ifdef KGDB
if (kgdb_dev == makedev(commajor, unit)) {
-/* $OpenBSD: gus.c,v 1.6 1996/03/19 21:10:11 mickey Exp $ */
+/* $OpenBSD: gus.c,v 1.7 1996/03/20 01:00:44 mickey Exp $ */
/* $NetBSD: gus.c,v 1.7 1996/02/16 08:18:37 mycroft Exp $ */
/*-
* we use IPL_CLOCK.
*/
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_AUDIO, gusintr,
- sc /* sc->sc_gusdsp */);
+ sc /* sc->sc_gusdsp */, sc->sc_dev.dv_xname);
/*
* Set some default values
-/* $OpenBSD: if_ed.c,v 1.7 1996/03/19 21:10:14 mickey Exp $ */
+/* $OpenBSD: if_ed.c,v 1.8 1996/03/20 01:00:46 mickey Exp $ */
/* $NetBSD: if_ed.c,v 1.87 1996/01/10 16:49:25 chuck Exp $ */
/*
#endif
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, edintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
sc->sc_sh = shutdownhook_establish((void (*)(void *))edstop, sc);
}
#endif
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, egintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
void
-/* $OpenBSD: if_el.c,v 1.5 1996/03/19 21:10:17 mickey Exp $ */
+/* $OpenBSD: if_el.c,v 1.6 1996/03/20 01:00:48 mickey Exp $ */
/* $NetBSD: if_el.c,v 1.34 1995/12/24 02:31:25 mycroft Exp $ */
/*
#endif
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, elintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
dprintf(("elattach() finished.\n"));
}
-/* $OpenBSD: if_ep.c,v 1.8 1996/03/19 21:10:18 mickey Exp $ */
+/* $OpenBSD: if_ep.c,v 1.9 1996/03/20 01:00:49 mickey Exp $ */
/* $NetBSD: if_ep.c,v 1.86 1995/12/24 02:31:27 mycroft Exp $ */
/*
{
struct isa_attach_args *ia = aux;
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET,
- epintr, sc);
+ epintr, sc, sc->sc_dev.dv_xname);
}
}
#endif
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, feintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
/*
-/* $OpenBSD: if_ie.c,v 1.5 1996/03/19 21:10:21 mickey Exp $ */
+/* $OpenBSD: if_ie.c,v 1.6 1996/03/20 01:00:52 mickey Exp $ */
/* $NetBSD: if_ie.c,v 1.45 1995/12/24 02:31:33 mycroft Exp $ */
/*-
#endif
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET, ieintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
/*
-/* $OpenBSD: if_le.c,v 1.6 1996/03/19 21:10:22 mickey Exp $ */
+/* $OpenBSD: if_le.c,v 1.7 1996/03/20 01:00:54 mickey Exp $ */
/* $NetBSD: if_le.c,v 1.38 1995/12/24 02:31:35 mycroft Exp $ */
/*-
isa_dmacascade(ia->ia_drq);
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NET,
- leintredge, sc);
+ leintredge, sc, sc->sc_dev.dv_xname);
}
#endif
-/* $OpenBSD: isavar.h,v 1.5 1996/03/19 21:10:23 mickey Exp $ */
+/* $OpenBSD: isavar.h,v 1.6 1996/03/20 01:00:55 mickey Exp $ */
/* $NetBSD: isavar.h,v 1.17 1995/12/24 02:31:38 mycroft Exp $ */
/*
/* ISA interrupt sharing types */
void isascan __P((struct device *parent, void *match));
void *isa_intr_establish __P((int intr, int type, int level,
- int (*ih_fun)(void *), void *ih_arg));
+ int (*ih_fun)(void *), void *ih_arg, char *));
void isa_intr_disestablish __P((void *handler));
char *isa_intr_typename __P((int type));
-/* $OpenBSD: lpt.c,v 1.6 1996/03/19 21:10:24 mickey Exp $ */
+/* $OpenBSD: lpt.c,v 1.7 1996/03/20 01:00:55 mickey Exp $ */
/* $NetBSD: lpt.c,v 1.31 1995/12/24 02:31:40 mycroft Exp $ */
/*
if (ia->ia_irq != IRQUNK)
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NONE,
- lptintr, sc);
+ lptintr, sc, sc->sc_dev.dv_xname);
}
/*
-/* $OpenBSD: mcd.c,v 1.7 1996/03/19 21:10:25 mickey Exp $ */
+/* $OpenBSD: mcd.c,v 1.8 1996/03/20 01:00:56 mickey Exp $ */
/* $NetBSD: mcd.c,v 1.45 1996/01/30 18:28:05 thorpej Exp $ */
/*
mcd_soft_reset(sc);
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, mcdintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
/*
-/* $OpenBSD: pas.c,v 1.6 1996/03/19 21:10:27 mickey Exp $ */
+/* $OpenBSD: pas.c,v 1.7 1996/03/20 01:00:57 mickey Exp $ */
/* $NetBSD: pas.c,v 1.12 1996/02/16 08:18:34 mycroft Exp $ */
/*
sc->sc_iobase = iobase;
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_AUDIO,
- sbdsp_intr, &sc->sc_sbdsp);
+ sbdsp_intr, &sc->sc_sbdsp, sc->sc_dev.dv_xname);
printf(" ProAudio Spectrum %s [rev %d] ", pasnames[sc->model], sc->rev);
timeout((void (*)(void *))pcic_intr, pcic, pcic->sc_polltimo);
} else {
pcic->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE,
- IPL_NET, pcic_intr, pcic);
+ IPL_NET, pcic_intr, pcic, pcic->sc_dev.dv_xname);
pcic->sc_polltimo = 0;
}
}
-/* $OpenBSD: pss.c,v 1.6 1996/03/19 21:10:29 mickey Exp $ */
+/* $OpenBSD: pss.c,v 1.7 1996/03/20 01:00:59 mickey Exp $ */
/* $NetBSD: pss.c,v 1.11 1995/12/24 02:31:45 mycroft Exp $ */
/*
/* Setup interrupt handler for PSS */
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_AUDIO, pssintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
vers = (inw(sc->sc_iobase+PSS_ID_VERS)&0xff) - 1;
printf(": ESC614%c\n", (vers > 0)?'A'+vers:' ');
-/* $OpenBSD: rtfps.c,v 1.5 1996/03/19 21:10:30 mickey Exp $ */
+/* $OpenBSD: rtfps.c,v 1.6 1996/03/20 01:01:01 mickey Exp $ */
/* $NetBSD: rtfps.c,v 1.14 1995/12/24 02:31:48 mycroft Exp $ */
/*
}
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY, rtfpsintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
int
-/* $OpenBSD: sb.c,v 1.6 1996/03/19 21:10:31 mickey Exp $ */
+/* $OpenBSD: sb.c,v 1.7 1996/03/20 01:01:01 mickey Exp $ */
/* $NetBSD: sb.c,v 1.30 1996/02/16 08:18:32 mycroft Exp $ */
/*
int err;
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_AUDIO,
- sbdsp_intr, sc);
+ sbdsp_intr, sc, sc->sc_dev.dv_xname);
sbdsp_attach(sc);
isa_establish(&sea->sc_id, &sea->sc_deV);
#endif
sea->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, seaintr,
- sea);
+ sea, sc->sc_dev.dv_xname);
/*
* ask the adapter what subunits are present
-/* $OpenBSD: ultra14f.c,v 1.10 1996/03/19 21:10:33 mickey Exp $ */
+/* $OpenBSD: ultra14f.c,v 1.11 1996/03/20 01:01:04 mickey Exp $ */
/* $NetBSD: ultra14f.c,v 1.61 1996/02/09 17:38:09 mycroft Exp $ */
/*
isa_establish(&uha->sc_id, &uha->sc_dev);
#endif
uha->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO,
- uha->intr, uha);
+ uha->intr, uha, sc->sc_dev.dv_xname);
/*
* ask the adapter what subunits are present
printf("\n");
wdc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, wdcintr,
- wdc);
+ wdc, wdc->sc_dev.dv_xname);
for (wa.wa_drive = 0; wa.wa_drive < 2; wa.wa_drive++)
(void)config_found(self, (void *)&wa, wdprint);
-/* $OpenBSD: wss.c,v 1.6 1996/03/19 21:10:36 mickey Exp $ */
+/* $OpenBSD: wss.c,v 1.7 1996/03/20 01:01:06 mickey Exp $ */
/* $NetBSD: wss.c,v 1.9 1996/02/16 08:18:36 mycroft Exp $ */
/*
isa_establish(&sc->sc_id, &sc->sc_dev);
#endif
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_AUDIO, ad1848_intr,
- &sc->sc_ad1848);
+ &sc->sc_ad1848, sc->sc_dev.dv_xname);
ad1848_attach(&sc->sc_ad1848);
sc->dens = -1; /* unknown density */
sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, wtintr,
- sc);
+ sc, sc->sc_dev.dv_xname);
}
int