diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-02-20 04:36:20 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-02-20 04:36:20 +0000 |
commit | e1db5c4a473d067a236a9deb6aaf0d4b49037ab0 (patch) | |
tree | d99a015cd4bf0a19ed04cd028e4c95a554f20949 /sys/dev/isa/pss.c | |
parent | 5de6545ee7bb75bb0895f89e1e1086f2d570db11 (diff) |
Pass device name to interrupt establish routines so it can be recorded in
the device interrupt chain structures (isa, pci)
Move interrupt chain structure definition to <machine/psl.h> so vmstat can
get at it (i386)
Remove hack to count interrupts the old way (i386)
Diffstat (limited to 'sys/dev/isa/pss.c')
-rw-r--r-- | sys/dev/isa/pss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/pss.c b/sys/dev/isa/pss.c index 0e90c4677fe..cd8eb338b36 100644 --- a/sys/dev/isa/pss.c +++ b/sys/dev/isa/pss.c @@ -1005,7 +1005,7 @@ pssattach(parent, self, aux) /* 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:' '); @@ -1040,7 +1040,7 @@ spattach(parent, self, aux) #endif sc->sc_ih = isa_intr_establish(cf->cf_irq, IST_EDGE, IPL_AUDIO, ad1848_intr, - sc); + sc, sc->sc_dev.dv_xname); /* XXX might use pssprint func ?? */ printf(" port 0x%x-0x%x irq %d drq %d", @@ -1068,7 +1068,7 @@ mpuattach(parent, self, aux) #endif sc->sc_ih = isa_intr_establish(cf->cf_irq, IST_EDGE, IPL_AUDIO, mpuintr, - sc); + sc, sc->sc_dev.dv_xname); /* XXX might use pssprint func ?? */ printf(" port 0x%x-0x%x irq %d\n", |