Forum Discussion
Altera_Forum
Honored Contributor
20 years agoSimple device driver using an interrupt
I want to write a simple device driver which uses interrupts. My Nios2 system has the following componentes: cpu, sdram controller, cfi flash controller, jtag uart and a timer. I have added...
Altera_Forum
Honored Contributor
20 years agoYou don't need enable_irq (IRQ_NUMB);
request_irq() already enable it. see kernel arch/nios2nommu/kernel/irq.c . This is a good example. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif Could you please post it on the nios wiki ?