[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] a shared interrupt service routine



On Thu, Apr 06, 2000 at 06:23:28PM +0200, Tomasz Motylewski wrote:
> On Wed, 5 Apr 2000, David Schleef wrote:
> > On Thu, Apr 06, 2000 at 01:46:01PM +0900, JunHyeok Heo wrote:
> 
> > > The BIOS of my PC allocates the same irq number to 
> > > the video capture card and the on-board sound device.
> > > Is it possible to share the same interrupt between the RTL driver 
> > > and the plain linux driver ?
> 
> > Nope.  Move the card to a different slot, and hope your motherboard
> > manufacturer wasn't stupid.  I've seen motherboards where _every_
> > slot was mapped to IRQ 9.
> 
> Well, I would say it should be possible. In the RT ISR check whether the
> interrupt was from the frame grabber, if not trigger the soft interrupt
> which will be then serviced by ALSA. Take care about cases when both devices
> generate interrupts.
> 


Interrupts to the framegrabber will be blocked during the sound card
ISR.



dave...