Hi Jonas --
--- In "jo_xavier18" <>
wrote:
>
> Hi! Is there some body that knows how to add new IRQ number in the
> /linux24/include/asm-arm/arch-ep93xx/irqs.h file? I know that i'll
to
> compile the kernel again...
>
> I have a problem because i'm trying to implement irqs in the
ts7400 and
> when i use the function 'request_irq()' (in <asm/sched.h>) my
request
> becomes lower zero (the normal is zero if it's ok).
The negative number is your error code, trying to tell you
something. -EBUSY, for example, usually means the interrupt is
already claimed.
>I've tested all
> numbers of irqs (from 0 until 64) and that's ok, but when i put
any
> other value i have an error.
The chip only has 64 IRQs. The EP9301 User Guidebook has more info
on this:
http://www.cirrus.com/en/pubs/manual/EP93xx_Users_Guide_UM1.pdf
Also you might find LDD book by Rubini & Corbett helpful:
http://www.xml.com/ldd/chapter/book/ch09.html
(Use second edition for 2.4, third edition for 2.6 kernels).
What type of hardware are you trying to service?
Regards, ....... Charlie
>
> Jonas Xavier.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|