From: Benjamin Herrenschmidt <bh40@calva.net>
To: De Schrijver Peter <schrijvp@rc.bel.alcatel.be>
Cc: 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: Tue, 20 Jun 2000 15:30:01 +0200 [thread overview]
Message-ID: <20000620133001.23202@mailhost.mipsys.com> (raw)
In-Reply-To: <20000620152509.O1177@rc.bel.alcatel.be>
On Tue, Jun 20, 2000, De Schrijver Peter <schrijvp@rc.bel.alcatel.be> wrote:
>> We still can decide (and that's what I currently do in the kernel) that
>> IO space is only supported on one of those 3 busses (the one on which the
>> external PCI is). This prevents however use of IOs on the AGP slot, which
>> is a problem for things like XFree who may try to use VGA addresses on
>> the card.
>>
>
>Is this really a problem ? I would expect AGP cards to be fully
>addresseable via
>the I/O space assigned in the PCI IO resource base ?
But even that doesn't work. If it's a kernel driver, then we can fixup
the io resources passed by the new kernel resources mecanism to handle
the IO base of this specific card. But this won't for userland.
I mean, if you read the PCI IO resource base from the card's config
space, then you have an IO address on which you need to add an iobase
(the base at which the IO bus is mapped). The problem is how to figure
out this IO base, especially since the machine has several IO busses at
different addresses, but all of them on the same PCI bus number (it's
actually 3 separate busses with the same bus number).
The kernel can figure this out from the dev_fn since there's fortunately
no overlap of dev_fn's between those busses. But how to translate this to
userland ?
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-06-20 13:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.GSO.4.10.10006201254290.8592-100000@dandelion.sonytel.be>
2000-06-20 12:23 ` Proposal: non-PC ISA bus support Benjamin Herrenschmidt
2000-06-20 13:25 ` De Schrijver Peter
2000-06-20 13:30 ` Benjamin Herrenschmidt [this message]
2000-06-21 21:47 ` Michel Lanners
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=20000620133001.23202@mailhost.mipsys.com \
--to=bh40@calva.net \
--cc=linux@cthulhu.engr.sgi.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=schrijvp@rc.bel.alcatel.be \
/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).