[Top] [All Lists]

Re: [ Re: [Linux-mips-kernel]ioremap & ISA]

To: Jim Paris <>
Subject: Re: [ Re: [Linux-mips-kernel]ioremap & ISA]
From: Ralf Baechle <>
Date: Mon, 17 Dec 2001 19:34:32 -0200
In-reply-to: <>; from on Mon, Dec 17, 2001 at 03:15:15PM -0500
References: <>
User-agent: Mutt/1.2.5i
On Mon, Dec 17, 2001 at 03:15:15PM -0500, Jim Paris wrote:

> > What would be considered an ISA address -- the standard PC definition? 
> > I don't think that would work on most mips boards.

ISA, the good old stonage PC bus system with all it's limitations that also
infected some MIPS systems.

> > I'm not sure what isa_slot_offset is meant to do at all.  Shoot Ralf an
> > email, perhaps he has a clear explanation (and then let us know :-)). 

It points to the virtual address at which memory address 0 of the ISA
bus is accessible.  There is a wealth of old ISA drivers that don't know
about the wonders of ioremap so that's why there is isa_slot_offset as
a killer solution for all ISA crapola.

> If I make ioremap use isa_slot_offset for addresses under 16MB, then
> PCMCIA works for me.  I don't see any other way to get isa_slot_offset
> in there without hacking PCMCIA in ways that break other arches.

Is your PCMCIA bridge really behind an ISA bus?

What is an address less than 16mb in your case?  Most MIPS systems have
memory at that physical address so maybe you're not talking about
physical addresses?

> On a somewhat related note, I've noticed that if I include IDE disk
> support in my kernel (CONFIG_BLK_DEV_IDEDISK, ide-disk.o), then stuff
> breaks; most noticibly, the PCMCIA IRQ scan returns the negative (!)
> of the correct values.  I'm guessing this is something miscompiling --
> I'm using the latest binutils plus gcc-3.0.2 -- has anyone see these

Try something older instead.


<Prev in Thread] Current Thread [Next in Thread>