Skip to contentSkip to conversation

Rép. : [Xenomai-help] Share interrupts between two subdevices

DISCUSSION Nicolas BLANCHARD 1 participant 1 message Nov 2, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

<[email protected]> 31.10 19:50 >>>

Hi!

I'm implementing a driver for a device that has two subdevices

(basically,

Quoted 1 line

a serial board with two ports). For this to work, i need to use the

same

Quoted 3 lines

interrupt for both subdevices.

So the driver, ATM, initializes both subdevices and then only one

requests

Quoted 3 lines

and enables the interrupt.

Does RTDM call the interrupt handler of the subdevice that didn't

request

Quoted 1 line

the irq? What capabilities does RTDM have in terms of interrupt

sharing

Quoted 4 lines

between drivers in rt "environment"?

Thanks for your help!

Hello,

You have a Xenomai shared interrupt option in kernel options, for example you can see the 16550 xenomai drivers that could use shared interrupts.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help