From: Richard Henderson <rth@twiddle.net>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux kernel <linux-kernel@vger.rutgers.edu>,
Linux/PPC Development <linuxppc-dev@lists.linuxppc.org>,
Linux/MIPS Development <linux@cthulhu.engr.sgi.com>
Subject: Re: Proposal: non-PC ISA bus support
Date: Thu, 22 Jun 2000 01:59:03 -0700 [thread overview]
Message-ID: <20000622015903.A29666@twiddle.net> (raw)
In-Reply-To: <Pine.GSO.4.10.10006220938260.27193-100000@dandelion.sonytel.be>
On Thu, Jun 22, 2000 at 09:41:58AM +0200, Geert Uytterhoeven wrote:
> The problem is that drivers assume ISA memory space is at 0 and use e.g.
>
> request_mem_region(0xa0000, 65536)
>
> to request the legacy VGA region, while it should be
>
> request_mem_region(isa_mem_base+0xa0000, 65536)
>
> for compatibility with anything besides ia32.
Well, yes and no. Again, what I'm saying is that one way
to handle this is to *pretend* isa_mem_base==0, and that
the entire ISA region is contiguous. Certainly that's good
enough for region allocations. And if the damage is undone
by ioremap, then the effect is not visible.
I'm not disagreeing that it would make sense to make this
all a bit more explicit with proper interfaces. However,
I don't see that happening any time real soon.
> > What does your bus configuration look like?
>
> There are multiple legacy ISA regions on some PowerMacs, which
> have multiple PCI buses and such.
I guessed that. I was hoping to get specifics.
r~
next prev parent reply other threads:[~2000-06-22 8:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-20 11:21 Proposal: non-PC ISA bus support Geert Uytterhoeven
2000-06-20 12:23 ` Benjamin Herrenschmidt
2000-06-20 12:41 ` Geert Uytterhoeven
2000-06-20 13:02 ` Benjamin Herrenschmidt
2000-06-20 13:09 ` Geert Uytterhoeven
2000-06-20 13:25 ` De Schrijver Peter
2000-06-20 13:30 ` Benjamin Herrenschmidt
2000-06-21 21:47 ` Michel Lanners
2000-06-20 17:11 ` Frank Rowand
2000-06-20 17:29 ` Geert Uytterhoeven
2000-06-20 20:10 ` Russell King
2000-06-20 20:10 ` Russell King
2000-06-21 23:57 ` Richard Henderson
2000-06-22 6:45 ` Geert Uytterhoeven
2000-06-22 7:19 ` Richard Henderson
2000-06-22 7:41 ` Geert Uytterhoeven
2000-06-22 8:59 ` Richard Henderson [this message]
2000-06-22 9:15 ` Geert Uytterhoeven
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=20000622015903.A29666@twiddle.net \
--to=rth@twiddle.net \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux@cthulhu.engr.sgi.com \
--cc=linuxppc-dev@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox