On Wed, 2005-12-07 at 16:36 -0700, Bjorn Helgaas wrote:
> On Wednesday 07 December 2005 4:13 pm, Benjamin Herrenschmidt wrote:
> > ... Part of the problem here is for example PIO. There is no such
> > thing as PIO on a PowerPC, it's purely a PCI abstraction, thus inX/outX
> > will only work once the PCI host briges have been discovered and their
> > IO space mapped (setup_arch() time, but I definitely want my early
> > console earlier).
>
> ia64 has a similar problem, but it's a bit easier because firmware
> configures and tells us about the legacy (0-64K) I/O port space.
> So we do have to look up the MMIO base where those I/O ports get
> mapped, but that's basically the first thing in setup_arch(). We
> don't do much before that, so it hasn't been worthwhile to make
> the console work earlier.
Oh, that's what I do too, that is, I have a mecanism now to walk the
firmware device-tree and get the MMIO, my problem was with matching that
MMIO address with the PIO one that 8250 gets later on. It seems that you
solved that problem so it looks like I really need to look more closely
at what you are doing :)
Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]