On Fri, Feb 06, 2004 at 05:45:17PM +1100, MERRITT Nigel wrote: > When calling request_irq, the irq number had to be 30, which is the bit > in the UIC0_ER register that needs setting. I was passing it 5, which > is the IRQ I wanted setting. When I changed the IRQ number to 30 it > worked! I'm not sure if this is a screw up on my part for not passing > the correct value in the first place, or an error in the Timesys kernel > (surely the number passed in should be the IRQ required, not the bit > position in the UIC registers).
It's your error, just think what you have to pass to request_irq if you want to hook UART0 interrupt... IRQ5 - is _external_ (to the chip) interrupt line and NOT an interrupt number. _All_ UIC interrupts are external to the core (but not all of them are IRQx lines). Eugene. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
