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

From: Benjamin Herrenschmidt
Date: Mon Nov 29 2010 - 15:05:50 EST


On Mon, 2010-11-29 at 13:07 -0600, Scott Wood wrote:
>
> The motivation for simple-bus comes from Linux, but its definition is
> OS-neutral. It indicates that no special bus knowledge is required to
> access the devices under it.

That's never 100% true. In the case of ISA it's even less true due to
the difference between IO and Memory space.

> I don't think it applies to ISA, though -- I/O space is special bus
> knowledge, and the "ranges" looks weird for memory-space as well.

Right.

> If we're going to get rid of device_type here, it would be nice to
> have some other way to indicate that this node follows the ISA
> binding, without having to recognize an implementation-specific
> compatible.

The code in drivers/of/address.c uses the name property to match isa
busses.

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/