Hardware interrupts routines

Jeff Angielski jeff at theptrgroup.com
Wed Jun 16 23:46:56 EST 2004


On Wed, 2004-06-16 at 10:28, Garcia Jérémie wrote:
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> The only hardware interrupts routine I found through my investigations is the
> request_irq(...). But the problem is that request_irq do not allow me to pass
> an argument to the handler... So is there a routine that allows it or is there
> a way to adapt the request_irq() to my case.

Reread the kernel source code.  request_irq() does allow you to pass a
parameter.  Its the last argument to the function.

Jeff Angielski
The PTR Group


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list