2.5 and request_8xxirq

4 messages, 3 authors, 2003-01-15 · open the first message on its own page

2.5 and request_8xxirq

From: Pantelis Antoniou <hidden>
Date: 2003-01-15 10:25:57

Hi

I'm in the process of porting my board based on a MPC850
from 2.4 to 2.5 and it appears that request_8xxirq is gone.

There was some previous discussion about this subject and
some patches were presented by Tom. Apparently there were
some objections and are not in the kernel.

Is it safe to use them? And if not what is the proper
way to address this problem?

Regards

Pantelis


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

RE: 2.5 and request_8xxirq

From: Allen Curtis <hidden>
Date: 2003-01-15 14:43:11

Just use request_irq() instead....
I'm in the process of porting my board based on a MPC850
from 2.4 to 2.5 and it appears that request_8xxirq is gone.

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

Re: 2.5 and request_8xxirq

From: Pantelis Antoniou <hidden>
Date: 2003-01-15 15:13:57

Allen Curtis wrote:
Just use request_irq() instead....
Sure, could you please elaborate a little bit?

I'm asking because by looking at the posted patch,
while the replacement is straight-forward for
request_8xxirq -> request_irq, there is also
the replacement of cpm_install_handler with
request_irq.

AFAIK the replacement is something like this:

cpm_install_handler(irqno, handler, ...) ->
   request_irq(CPM_IRQ_OFFSET + irqno, handler, ...)

CPM_IRQ_OFFSET is nowhere to be found.

Could someone clear this up?

Thanks
quoted
I'm in the process of porting my board based on a MPC850
from 2.4 to 2.5 and it appears that request_8xxirq is gone.

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

Re: 2.5 and request_8xxirq

From: Tom Rini <hidden>
Date: 2003-01-15 22:26:19

On Wed, Jan 15, 2003 at 12:25:57PM +0200, Pantelis Antoniou wrote:
I'm in the process of porting my board based on a MPC850
from 2.4 to 2.5 and it appears that request_8xxirq is gone.
request_8xxirq is not yet gone in 2.5, but it will be in 2.4 very shortly
now (IIRC, it has made its way to Marcelo) as there were hopes of trying
to replace it with something more agreeable to Dan Malek as well as
everyone else.
But be warned, if you're going to try and use 2.5 on 8xx, it will not
work without changes to the interrupt handler and some minor MM things.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help