When hooking up the interrupt handler, use an interrupt share type
specified by the front-end.
This commit is contained in:
parent
2098fd1945
commit
3be1ffe6a0
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sb.c,v 1.58 1998/06/17 08:17:25 augustss Exp $ */
|
||||
/* $NetBSD: sb.c,v 1.59 1998/06/29 22:40:56 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
@ -237,7 +237,7 @@ void
|
||||
sbattach(sc)
|
||||
struct sbdsp_softc *sc;
|
||||
{
|
||||
sc->sc_ih = isa_intr_establish(sc->sc_ic, sc->sc_irq, IST_EDGE,
|
||||
sc->sc_ih = isa_intr_establish(sc->sc_ic, sc->sc_irq, sc->sc_ist,
|
||||
IPL_AUDIO, sbdsp_intr, sc);
|
||||
|
||||
sbdsp_attach(sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbdspvar.h,v 1.34 1998/06/09 00:05:46 thorpej Exp $ */
|
||||
/* $NetBSD: sbdspvar.h,v 1.35 1998/06/29 22:40:56 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
@ -96,6 +96,7 @@ struct sbdsp_softc {
|
||||
|
||||
int sc_iobase; /* I/O port base address */
|
||||
int sc_irq; /* interrupt */
|
||||
int sc_ist; /* interrupt share type */
|
||||
int sc_drq8; /* DMA (8-bit) */
|
||||
int sc_drq16; /* DMA (16-bit) */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user