Where can I find the IRQ number in request_irq function?
Posted
by sasayins
on Stack Overflow
See other posts from Stack Overflow
or by sasayins
Published on 2010-06-11T01:22:36Z
Indexed on
2010/06/11
12:12 UTC
Read the original article
Hit count: 226
linux
Hi,
Im learning device driver programming in Linux. And I'm wondering where I could the IRQ number in the request_irq function.
int request_irq (unsigned int irq, void (*handler) (int, void *, struct pt_regs *), unsigned long irqflags, const char *devname, void *dev_id);
In the irq parameter, what value or where could I find that value to put in the request_irq function?
Thanks
© Stack Overflow or respective owner