All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: Helge Deller <deller@gmx.de>
Cc: James Bottomley <James.Bottomley@steeleye.com>,
	parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] 32bit parisc kernel 2.6.1 and pcmcia
Date: Mon, 19 Jan 2004 17:50:33 -0700	[thread overview]
Message-ID: <20040120005033.GA3846@colo.lackof.org> (raw)
In-Reply-To: <200401192248.29566.deller@gmx.de>

On Mon, Jan 19, 2004 at 10:48:29PM +0100, Helge Deller wrote:
> > Sorry, I'm an idiot...these type of cards don't seem to work (they seem
> > to require ISA IRQ routing rules, which we can't provide).
> 
> Wouldn't it be possible to write a wrapper, which simulated the
> ISA IRQs 0-15 and routes them to dino instead ?

Yes

> Isn't this similiar like the hack we have for the EISA driver ?
> And maybe we are lucky and no PA-machine has both, EISA and PCMCIA.
> Would this be possible ?

Certainly. Need to write the "glue" that aliases the ESIA IRQs
(IRQ region 0) to which ever Dino IRQ region is handling them.
In other words, convert the PCI interrupts to ISA interrupts.
If you could fake the ISA driver into using PCI interrupts
(ie IRQs > 15), then one could register device driver interrupt
handler directly with Dino. Otherwise, an intermediate interrupt
handler will be needed that translates the Dino interrupt
into whatever IRQ the PCMCIA/ISA device thinks it's using.

I don't konw any of the details, that's just the overview.
In particular, how to determine which Dino is the right one.
On RDI PrecisionBook laptop, it might be simple and maybe just
make some assumptions based on that implementation.

grant

  reply	other threads:[~2004-01-20  0:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-18 19:59 [parisc-linux] 32bit parisc kernel 2.6.1 and pcmcia Helge Deller
2004-01-18 23:44 ` James Bottomley
2004-01-19  9:07   ` Helge Deller
2004-01-19 14:38     ` James Bottomley
2004-01-19  5:59 ` Grant Grundler
2004-01-19  9:03   ` Helge Deller
2004-01-19 14:35 ` James Bottomley
2004-01-19 21:48   ` Helge Deller
2004-01-20  0:50     ` Grant Grundler [this message]
2004-01-20  1:16     ` James Bottomley

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=20040120005033.GA3846@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=James.Bottomley@steeleye.com \
    --cc=deller@gmx.de \
    --cc=parisc-linux@lists.parisc-linux.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.