request_irq, MPX8xx, IDE, PCMCIA, ...

2 messages, 2 authors, 2003-01-06 · open the first message on its own page

request_irq, MPX8xx, IDE, PCMCIA, ...

From: Steven Scholz <hidden>
Date: 2003-01-06 17:11:05

Hi there,

last year ide-cs was working on MPC8xx platforms.

It was necessary to define

	define ide_request_irq(irq,hand,flg,dev,id)
request_8xxirq((irq),(hand),(flg),(dev),(id))

in the board specific header file.

I just relalised that on December 16 code in ide-probe was changed!!!

-               if (ide_request_irq(hwif->irq, &ide_intr, sa, hwif->name,
hwgroup)) {
+               if (request_irq(hwif->irq,&ide_intr,sa,hwif->name,hwgroup)) {

Now it crashes with a "Kernel panic: request_irq".

What is the status of the request_8xxirq() vs request_irq() stuff?

BTW: Is the patch changing IN_BYTE() to hwif->INB() etc. working on MPC8xx
platforms?

Thanks a million,

Steven

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

Re: request_irq, MPX8xx, IDE, PCMCIA, ...

From: Tom Rini <hidden>
Date: 2003-01-06 18:23:06

On Mon, Jan 06, 2003 at 06:11:05PM +0100, Steven Scholz wrote:
Hi there,

last year ide-cs was working on MPC8xx platforms.

It was necessary to define

	define ide_request_irq(irq,hand,flg,dev,id)
request_8xxirq((irq),(hand),(flg),(dev),(id))

in the board specific header file.

I just relalised that on December 16 code in ide-probe was changed!!!
As part of the IDE cleanup, yes.
What is the status of the request_8xxirq() vs request_irq() stuff?
At the certain annoyance of Dan Malek (sorry Dan), really really soon
now.  I've got a local (Marcelo-based) 2.4 with the changes in, and lightly
tested.  Once it passes some more heavy 'stress', I'll ask Paul to send
it onto Marcelo.

--
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