lkml.org 
[lkml]   [2003]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2.5] VGA IO on systems with multiple PCI IO domains
On Mon, Jan 27, 2003 at 06:55:04PM +0100, Benjamin Herrenschmidt wrote:
> Well, your example clearly limits us to one IO space for VGA, which
> might not be what we want. The problem also exist for some fbdev drivers
> which might need to tap the VGA IOs of a given PCI card (thus getting
> access to the "legacy" IOs of the bus the card is on).

You are right, I've already realized that. :-)
The struct pci_bus * arg to legacy_ioport_remap (maybe better
pci_legacy_ioport_remap) is really good idea, and it's perfectly
ok to pass NULL in the vgacon case - we are limited to only one
VGA console anyway.
After the PCI setup is done, pci_legacy_ioport_remap(pbus, &legacy_resource)
would solve any problem I can think of, including multiple ISA bridges.

Ivan.
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.061 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site