Skip to contentSkip to conversation

request_irq, MPX8xx, IDE, PCMCIA, ...

DISCUSSION Steven Scholz 2 participants 2 messages Jan 6, 2003

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 4 lines · Steven Scholz

Hi there,

last year ide-cs was working on MPC8xx platforms.

Quoted 8 lines

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.

Quoted 1 line

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/