All of lore.kernel.org
 help / color / mirror / Atom feed
* [ppopov@mvista.com: Re: [Linux-mips-kernel]ioremap & ISA]
@ 2001-12-17 20:15 Jim Paris
  2001-12-17 21:34 ` Ralf Baechle
  0 siblings, 1 reply; 27+ messages in thread
From: Jim Paris @ 2001-12-17 20:15 UTC (permalink / raw)
  To: linux-mips

Ralf, perhaps you (or someone else here) can help:

> From: Pete Popov <ppopov@mvista.com>
> To: jim@jtan.com
>
> On Sun, 2001-12-16 at 18:37, Jim Paris wrote:
> > I'm confused.  Shouldn't ioremap use isa_slot_offset for ISA
> > addresses, and if not, why not?  Where should isa_slot_offset go?  It
> > can't go into read[bwl]/write[bwl], because ioremap would add KSEG1,
> > and isa_slot_offset would already include KSEG1.
> 
> What would be considered an ISA address -- the standard PC definition? 
> I don't think that would work on most mips boards.
> 
> 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 :-)). 

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.

--

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
problems with ide-disk?  Or can you suggest a newer gcc CVS that
you've used successfully?  (I suppose I should set up gdb and try to
find where the problem is, but I'm in the middle of finals right now
and won't have time to do that for a while)

-jim

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2001-12-26 21:42 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-17 20:15 [ppopov@mvista.com: Re: [Linux-mips-kernel]ioremap & ISA] Jim Paris
2001-12-17 21:34 ` Ralf Baechle
2001-12-18  5:45   ` Jim Paris
2001-12-18  7:03   ` Jim Paris
2001-12-18  4:03     ` hanishkvc
2001-12-18 18:10     ` Jun Sun
2001-12-18 18:45       ` Jim Paris
2001-12-18 18:45         ` Jim Paris
2001-12-18 19:09         ` Jun Sun
2001-12-18 19:30       ` Ralf Baechle
2001-12-19  9:40       ` Geert Uytterhoeven
2001-12-18 18:25     ` Ralf Baechle
2001-12-18 18:57       ` Jim Paris
2001-12-18 19:21         ` Jun Sun
2001-12-18 20:58         ` Ralf Baechle
2001-12-18 21:28           ` Jim Paris
2001-12-18 21:53             ` Maciej W. Rozycki
2001-12-19  9:34         ` Geert Uytterhoeven
2001-12-22 12:47           ` Ralf Baechle
2001-12-18 19:16       ` Jun Sun
2001-12-18 19:31         ` Ralf Baechle
2001-12-18 19:36           ` Jun Sun
2001-12-18 20:02             ` Karsten Merker
2001-12-18 20:22             ` Maciej W. Rozycki
2001-12-18 22:28             ` Ralf Baechle
2001-12-19  9:34         ` Geert Uytterhoeven
2001-12-19 16:47           ` Ralf Baechle

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.