request_irq fails to get interrupt 12

2007-10-22 Thread Alan Bennett
Freescale experts. Why on earth can't I request the IRQ for Timer1? static int __init dvr_ph_init(void) { u32 rv; int k; //rv = driver_register(dvr_ph_driver); for (k=0;k64;k++) { rv = request_irq(k,dvrph_isr , 0, dvr_ph, NULL);

Re: request_irq fails to get interrupt 12

2007-10-22 Thread Alan Bennett
Ok, so what does it take to expose an interrupt vector on a pq2 PIC?? -Alan Current: / localbus{ ... fundevice1 { interrupts = c 8; interrupt-parent = PIC; }; ...

Re: request_irq fails to get interrupt 12

2007-10-22 Thread Benjamin Herrenschmidt
On Mon, 2007-10-22 at 13:55 -0600, Alan Bennett wrote: Ok, so what does it take to expose an interrupt vector on a pq2 PIC?? -Alan Also, if it's the default PIC or if you happen to have the PIC struct irq_host pointer at hand, a quickish way for internal device interrupts is to directly call