request_irq return errno 38

Michael Ellerman michael at ellerman.id.au
Wed Feb 11 20:54:32 EST 2009


On Wed, 2009-02-11 at 15:11 +0530, Vijay Nikam wrote:
> Thanks for your prompt reply ...
> 
> I am using kernel version 2.6.20 ...

OK, that kernel has the irq remapping stuff.

> May I know what raw IRQ means ? ? ? and what is the reason I cant map
> raw_irq_number ???

Sorry, that's not the best terminology.

I guess the right name is hardware irq number.

You can't map it because the kernel keeps a mapping between hardware irq
numbers and virtual irq numbers. request_irq() expects a virtual irq
number.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090211/51b832a8/attachment.pgp>


More information about the Linuxppc-dev mailing list