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 12:40:59AM +0100, Benjamin Herrenschmidt wrote:
> We probably need to introduce an equivalent of ioremap for IO space. So
> far, what we have to deal is:
>
> - Legacy ISA stuff unrelated to a PCI bus

Well, actually the ISA stuff *is* related to PCI bus on everything
newer than 486 PCs as it's connected to PCI via PCI-to-ISA bridge.
Even worse, I've found that at least two vendors offer PCI-to-ISA
expansion systems (yes, these systems are limited to IO only
on PCs because it clashes with another ISA bus in the same PCI domain),
but this means that one can have multiple ISA busses on alpha, parisc,
sparc64, ppc etc. One ISA bus per PCI IO domain. Shudder...

> - Legacy devies on a given PCI segment (VGA, serial, IDE, ...)
>
> What about some kind of ioport_remap() that would take a pci_bus and an
> port range as arguments ? If pci_bus is NULL, that would match a
> "legacy" ISA bus (non-PCI machine or default ISA bus for machines where
> that makes sense).

The problem is that vgacon driver is special - is starts very early,
before PCI subsystem is probed and initialized. So we don't have pci_bus
at this point.

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.034 / U:1.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site