public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] [PATCH] 1/4 multi-ioport space support for 2.5
Date: Fri, 25 Apr 2003 01:05:37 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590723705605@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590723705599@msgid-missing>

On Thu, Apr 24, 2003 at 06:44:41PM -0600, Bjorn Helgaas wrote:
> I think we're talking about two different things.

Maybe, but either way there's something I don't understand.

> If I understand it correctly, the reason for the patch you mentioned
> is to take a device (VGA) that appears at a fixed IO port address,
> and tweak the driver so it can talk to the device at a different
> IO port address.

Right.

> It doesn't expand the size of the IO port space, it just gives
> you a hook to say "this hard-coded region of IO port space
> really corresponds to this other region on my platform".

Couldn't it be used to do that though?  If drivers are required to
call request_legacy_region and pass in a pci_bus, they'll get back a
new io_base that they need to make use of.  Isn't that similar to the
way you create multiple legacy I/O port spaces?

> On the other hand, my patch is completely platform-specific and
> allows us to address new IO port space that was previously not
> accessible at all.  For example, on HP machines, the ia64 64K
> "legacy IO port space" all gets routed to a single IO controller.
> Here's a sample /proc/ioports:

I must be missing something.  I understand that you've effectively
created legacy I/O port spaces for each pci controller, but I don't
see how that helps you with a driver that does e.g. inb(0x3e8).  What
do you anticipate that your stuff will be used for?  That would help
out a bit...

Thanks,
Jesse


  parent reply	other threads:[~2003-04-25  1:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-24 22:25 [Linux-ia64] [PATCH] 1/4 multi-ioport space support for 2.5 Bjorn Helgaas
2003-04-24 22:37 ` Jesse Barnes
2003-04-25  0:44 ` Bjorn Helgaas
2003-04-25  1:05 ` Jesse Barnes [this message]
2003-04-25 11:36 ` Matthew Wilcox
2003-04-25 16:13 ` Bjorn Helgaas
2003-04-25 17:18 ` Jesse Barnes
2003-05-09 23:20 ` David Mosberger
2003-05-09 23:31 ` David Mosberger
2003-05-12 20:58 ` Bjorn Helgaas
2003-05-12 22:50 ` David Mosberger

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=marc-linux-ia64-105590723705605@msgid-missing \
    --to=jbarnes@sgi.com \
    --cc=linux-ia64@vger.kernel.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