Skip to contentSkip to conversation

16550A driver and 2-port pci board, irq sharing

Xenomai-help Stefan Kisdaroczi 1 participant 2 messages Jan 3, 2011

lore
Share & tools
lore
#0 lore raw

Hi Jan,

I try to add support for the Moxa CP132 RS422 dualport pci board to the 16550A driver. In the function rt_16550_open() the call to rtdm_irq_request() fails with EBUSY (-16) for the second port.

Looking at the source the driver seems to be able to handle multiple serial ports with the same (shared) IRQ. Any hints ?

Stefan

x86 32bit, xenomai-2.5.5, linux 2.6.32, ipipe 2.7-03, examples/cross-link app

#1 lore raw
Quoted 9 lines · Stefan Kisdaroczi

Hi Jan,

I try to add support for the Moxa CP132 RS422 dualport pci board to the 16550A driver. In the function rt_16550_open() the call to rtdm_irq_request() fails with EBUSY (-16) for the second port.

Looking at the source the driver seems to be able to handle multiple serial ports with the same (shared) IRQ. Any hints ?

enabling CONFIG_XENO_OPT_SHIRQ did help ... sorry
Stefan