Re: [RFC] [PATCH] Device Tree on ARM platform

From: Dmitry Eremin-Solenikov
Date: Mon Jun 01 2009 - 04:37:58 EST


Kyle Moffett wrote:

> On Sat, May 30, 2009 at 7:22 AM, Pavel Machek <pavel@xxxxxx> wrote:
>>> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index
>>> f430e15..b0ee851 100644
>>> --- a/arch/arm/Kconfig
>>> +++ b/arch/arm/Kconfig
>>> @@ -158,6 +158,17 @@ config ARCH_MTD_XIP
>>> Âconfig GENERIC_HARDIRQS_NO__DO_IRQ
>>> Â Â Â def_bool y
>>>
>>> +config OF
>>> + Â Â Â Âdef_bool y
>>> +
>>> +config PROC_DEVICETREE
>>> + Â Â Â Âbool "Support for device tree in /proc"
>>
>> It certainly should not be in /proc.
>
> There is unfortunately a relatively large legacy base of existing tools

And the keyword is *legacy* IMO. We have had legacy things like /proc/acpi,
/proc/ide etc. for years. However one by one they are being dropped and
replaced with more vivid interfaces. IMO one shouldn't hang around legacy
things for years. Just define and implement the replacement and delcare
that legacy interface will fade out and will be removed in a year or two.



With best wishes
Dmitry


--
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/