Re: [PATCH 03/11] x86/dtb: Add a device tree for CE4100

From: Benjamin Herrenschmidt
Date: Mon Nov 29 2010 - 21:51:00 EST


On Mon, 2010-11-29 at 23:47 +0000, Alan Cox wrote:
>
> That may not be wise. Your real bus heirarchy may not be architecturally
> defined on some systems so you can't incorporate it into code, nor is it
> necessarily a heirarchy - eg some of the Geodes.

Ok, so I'd suggest doing something like:

- pci is below the corresponding atom node
- isa is a child of pci

The later is a useful representation even if it doesn't correspond to
reality. From an address representation perspective, ISA can be
considered somewhat as a substractive decoding child of PCI (again even
if that's not 100% true), which simplifies the representation in the
device-tree a bit, and allows to still have things like VGA devices on
the PCI segment that decode IO ports in the ISA range.

Cheers,
Ben.


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