Re: Finding Hardware Interrupt Number

Greg Ungerer <[email protected]> Wed, 11 Jun 2008 16:49:38 +1000
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
Hi Fahd,

Fahd Abidi wrote:
> I am wondering if some one can point me in the right direction. We have 
> a platform where we are using Interrupt Pin 5 on our coldfire MCF5275, 
> we are running a UCLinux kernel 2.4 and I am trying to figure out which 
> IRQ number in the kernel maps to Hardware Interrupt 5? Is there an easy 
> way to figure this out?

The IRQ number that you pass to request_irq() in uClinux is the
vector number. So figure out what vector number GPIO5 interrupts on
and use that.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [email protected]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
---
[email protected]              Send a post to the list.
[email protected]        Join the list.
[email protected]    Join the list in digest mode.
[email protected]     Leave the list.