* newbie question : how to register for a new interrupt
@ 2005-09-07 14:14 Nuguru Susheel
2005-09-11 17:41 ` Arthur Othieno
0 siblings, 1 reply; 2+ messages in thread
From: Nuguru Susheel @ 2005-09-07 14:14 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I have written an service routine for handling the GPIO_WAKEUP
interrupt PSC2_4 pin (MPC5200 Core), but I donno how to register this
routine into the kernel.
I have connected an external circuit which generates interrupts to this
PSC2_4 pin, but I believe the Core doesnt know what to do when this
interrupt is generated without registering this routine ...
Help/Suggestions/Redirections please .......
--Cheers
nSr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: newbie question : how to register for a new interrupt
2005-09-07 14:14 newbie question : how to register for a new interrupt Nuguru Susheel
@ 2005-09-11 17:41 ` Arthur Othieno
0 siblings, 0 replies; 2+ messages in thread
From: Arthur Othieno @ 2005-09-11 17:41 UTC (permalink / raw)
To: Nuguru Susheel; +Cc: linuxppc-embedded
On Wed, Sep 07, 2005 at 02:14:25PM +0000, Nuguru Susheel wrote:
> Hi all,
>
> I have written an service routine for handling the GPIO_WAKEUP
> interrupt PSC2_4 pin (MPC5200 Core), but I donno how to register this
> routine into the kernel.
request_irq/free_irq() are what you're looking for.
See include/linux/interrupt.h for the details.
Arthur
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-11 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-07 14:14 newbie question : how to register for a new interrupt Nuguru Susheel
2005-09-11 17:41 ` Arthur Othieno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).