From: Benjamin Herrenschmidt <bh40@calva.net>
To: Gabriel Paubert <paubert@iram.es>,
linux-fbdev@vuser.vu.union.edu, linuxppc-dev@lists.linuxppc.org
Subject: Re: [linux-fbdev] [PATCH 2.3.x] fbdev reversion
Date: Wed, 15 Mar 2000 12:31:50 +0100 [thread overview]
Message-ID: <20000315123150.025617@mailhost.mipsys.com> (raw)
In-Reply-To: <Pine.HPX.4.10.10003151038290.3396-100000@gra-ux1.iram.es>
On Wed, Mar 15, 2000, Gabriel Paubert <paubert@iram.es> wrote:
>> #define _IO_BASE 0
>>
>> breaks CHRP and PReP boxes that use plain ISA drivers (inb() and friends).
>
>Indeed, but that's unavoidable. Except that the breakage has to wait for
>2.5 to be acceptable. Given the choice I prefer to break this and properly
>use resources even for drivers which believe that they have to use fixed
>addresses assigned by God, or rather the devil given the mess that the PC
>`architecture' is.
Well, we need a fix _now_ (that I will backport to 2.2.x as soon as
possible too), at least for PowerMacs. The problem of ISA drivers with
legacy hard-coded addresses is indeed a real one, but it can be
temporarily worked around by having the kernel maintaing a separate
mapping of the "old" IO base to the legacy ISA bus if one exist.
We have, I think, no legacy code using /proc/bus/pci, do we ? If I'm
right, then we can chance it to return physical addresses without
breaking anyone so at least we have a temporary fix for XFree. We must
get the kernel<->userland interface right asap so that we don't need to
change XFree again and again.
I'll play a bit with Michel patches next week-end. Unfortunately, I can't
test much on 2.3.x until the OHCI driver is fixed.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-03-15 11:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-14 10:03 [linux-fbdev] [PATCH 2.3.x] fbdev reversion Benjamin Herrenschmidt
2000-03-14 10:05 ` Geert Uytterhoeven
2000-03-14 22:11 ` Michel Lanners
2000-03-15 9:00 ` Geert Uytterhoeven
2000-03-15 9:57 ` Gabriel Paubert
2000-03-15 11:31 ` Benjamin Herrenschmidt [this message]
2000-03-15 20:38 ` Michel Lanners
2000-03-15 21:06 ` Gabriel Paubert
2000-03-14 22:59 ` Gabriel Paubert
2000-03-14 21:22 ` Michael Schmitz
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=20000315123150.025617@mailhost.mipsys.com \
--to=bh40@calva.net \
--cc=linux-fbdev@vuser.vu.union.edu \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=paubert@iram.es \
/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).