[Oops, here's the comment that was supposed to go with that patch]

With CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN/CYGIMP_KERNEL_INTERRUPTS_CHAIN
enabled you should be able to attach both channels to the same
interrupt.

One problem with the generic 16x5x driver is that it masks/unmask the
interrupt in the controller which isn't great if your UART is on a
chained interrupt. I've attached a patch that changes the driver to
enable/disable the interrupt source in the UART instead.

Regards,
Daniel


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to