[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1291061128.32570.298.camel@pasglop>
Date: Tue, 30 Nov 2010 07:05:28 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Scott Wood <scottwood@...escale.com>
Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
sodaville@...utronix.de, devicetree-discuss@...ts.ozlabs.org,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 03/11] x86/dtb: Add a device tree for CE4100
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists