Interrupt Sharring.

Can two diffrent drivers (ex. devc-ser8250 and network driver speedo )
share the same interrupt?

Any comments with interrupt sharring welcome.

Thank you,
Janusz.

Janusz <ruszelj@baxter.com> wrote:

Can two diffrent drivers (ex. devc-ser8250 and network driver speedo )
share the same interrupt?

Any comments with interrupt sharring welcome.

Thank you,
Janusz.

Take a look at “Writing an Interrupt Handler” in the Programmer’s Guide.

Barry

Janusz <ruszelj@baxter.com> wrote:

Can two diffrent drivers (ex. devc-ser8250 and network driver speedo )
share the same interrupt?

Any comments with interrupt sharring welcome.

There are hardware issues – is the interrupt line in question
level-triggered or edge-triggered? If edge-triggered, then you
can’t safely share interrupts – you may (will) get into a state
where you will never get an interrupt again.

-David

QNX Training Services
I do not answer technical questions by email.

Thank you David!
Janusz.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:9qpt7e$rfc$1@nntp.qnx.com
Janusz <ruszelj@baxter.com> wrote:

Can two diffrent drivers (ex. devc-ser8250 and network driver speedo )
share the same interrupt?

Any comments with interrupt sharring welcome.

There are hardware issues – is the interrupt line in question
level-triggered or edge-triggered? If edge-triggered, then you
can’t safely share interrupts – you may (will) get into a state
where you will never get an interrupt again.

-David

QNX Training Services
I do not answer technical questions by email.

Janusz wrote:

Can two diffrent drivers (ex. devc-ser8250 and network driver speedo )
share the same interrupt?

If both devices are PCI bus devices … yes, they can share the same
interrupt. If your devices are hooking on the ISA bus … I would
say they can’t in geberal share interrupts.

The PC/104 bus (similarISA bus) has the possibility to pull up some IRQ
line … that allows to share level triggered interrupts (it’s an
exception …)

Armin



Any comments with interrupt sharring welcome.

Thank you,
Janusz.