[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: Fwd: Patch to control VGA bus routing and active VGA device.
From:       Jesse Barnes <jbarnes () sgi ! com>
Date:       2005-01-28 18:41:41
Message-ID: 200501281041.42016.jbarnes () sgi ! com
[Download RAW message or body]

On Friday, January 28, 2005 9:32 am, Grant Grundler wrote:
> On Thu, Jan 27, 2005 at 08:28:43AM -0800, Jesse Barnes wrote:
> > But then again,
> > I suppose if a platform supports more than one legacy I/O space,
>
> Eh?! there can only be *one* legacy I/O space.
> We can support multipl IO port spaces, but only one can be the "legacy".

What do you mean?  If you define legacy I/O space to be 
0x0000000000000000-0x000000000000ffff, then yes of course you're right.  But 
if you mean being able to access legacy ports at all, then no.  On SGI 
machines, there's a per-bus base address that can be used as the base for 
port I/O, which is what I was getting at.

> Moving the VGA device can only function within that legacy space
> the way the code is written now (using hard coded addresses).
> If it is intended to work with multiple IO Port address spaces,
> then it needs to use the pci_dev->resource[] and mangle that appropriately.

There is no resource for some of the I/O port space that cards respond to.  I 
can set the I/O BAR of my VGA card to 0x400 and it'll still respond to 
accesses at 0x3bc for example.  That's what I mean by legacy space--space 
that cards respond to but don't report in their PCI resources.

Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic