Thread (4 messages) 4 messages, 2 authors, 2000-11-29

Re: PCMCIA Card Service

From: Matthew Locke <hidden>
Date: 2000-11-29 18:53:35

you need to install the kernel patches on the ftp site as well. the
patch with ide and kernel in the name take care of that problem.

Nguyen Xuan Hoang wrote:
Hi Matthew,

Thank very much for your info. I have look at your patch but it seems not
solving our problem. I would like explain more:

-  From my investigation is: there's one confliction of the interrupt:

1. The PCMCIA card service (m8xx_pcmcia) register it's interrupt handler by
calling:
    request_8xxirq(pcmcia_schlvl, m8xx_interrupt, 0, "m8xx_pcmcia", NULL);
   well, that seems logical.

2. But when an PCMCIA card plug in, it remap the memory and route it's
interrupt to the system interrupt (of course only one PCMCIA interrupt). The
problem is most of  driver using REQUEST_8XXIRQ to register the handler. For
Example the FLASH card will call IDE driver, IDE driver will call
IDE_REQUEST_IRQ to register ide_intr.
As I saw the IDE_REQUEST_IRQ call REQUEST_8XXIRQ with PCMCIA interrupt. It
fails because the interrupt already occupy by PCMCIA (see step 1).

I may be wrong...please give me some advices

Thank in advances.
Hoang
quoted
yeah, I have done it.  use my patches on
ftp://ftp.mvista.com/pub/Area51/ppc_8xx.  I still have not done a
README, but if you have a MV support contract just contact support and
they will help you out.
** 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