[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Re: [uClinux-dev] interrupts - how to use for user IP
Hi Devi,
devi wrote:
> i am integrating my ps2 controller as an user IP. this has an irq line mapped to INTC. should i change the following line in xparamters.h to increase the number of interrupts.
>
> #define XPAR_INTC_MAX_NUM_INTR_INPUTS 3.
>
> how does the above parameter affect the design. when i download uclinux kernel image with the PS2 driver, i am not able to receive the scancodes? so can anyone please help me in deciding the interrupts....
Can you please post the fragment of your MHS file that describes the
interrupt controller?
In your keyboard driver, you register your interrupt handler with a call
to request_irq().
From your MHS file, you can determine which IRQ number is connected to
the PS2 controller - you then use that value in the request_irq call.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/