linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@netx4.com>
To: Shuangjun Zhu <r44089@email.sps.mot.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: PCMCIA support for 860 -- lost interrupt
Date: Wed, 24 May 2000 16:59:53 -0400	[thread overview]
Message-ID: <392C42C9.28AF07D8@embeddededge.com> (raw)
In-Reply-To: 006f01bfc53e$3eb0c680$69f001dc@sjzhu.sps.mot.com


Shuangjun Zhu wrote:
>
> 1. why "lost interrupt"? irq for IDE is 9, PCMCIA_INTERRUPT=13,
>    so, which hardware trigger IRQ 9?
> 2. why vpp=0.0, where can I change it, in ide_cs.c or m8xx_pcmcia.c?
>
> Note:
>
> I have changed arch/ppc/kernel/ppc8xx_pic.c, so that request_irq() looks
> like this:

See, this is why I changed the function name in the first place.
request_irq() assumes a PC-like interrupt structure, which doesn't work
on the MPC8xx internal interrupt controller.  You need to add an
indirect function call to the 'md' structure that will install the
IDE interrupt handler.  When you use the PCMCIA for ATA/IDE, you should
call a function that installs the PCMCIA interrupt vector.


	-- Dan

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

  reply	other threads:[~2000-05-24 20:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-24  5:09 PCMCIA support for 860 -- lost interrupt Shuangjun Zhu
2000-05-24 20:59 ` Dan Malek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-25  0:59 Shuangjun Zhu
2000-05-25  2:58 Shuangjun Zhu
2000-05-26  3:01 Shuangjun Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=392C42C9.28AF07D8@embeddededge.com \
    --to=dan@netx4.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=r44089@email.sps.mot.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).