Thread (1 message) 1 message, 1 author, 2016-06-11

Re: case sensitivity for devicetree node names

From: Benjamin Herrenschmidt <hidden>
Date: 2016-06-11 22:05:43
Also in: linuxppc-dev

On Sat, 2016-06-11 at 12:38 -0700, Frank Rowand wrote:
I chased through the history and found a 2.6.0-test5 announcement
which noted the patch from you which adds:

  of_find_node_by_path()
  of_find_node_by_name()
  of_find_node_by_type()
  of_find_compatible_node()

(And the patch is commit 394edd852a14 in the git recreation
of bitkeeper days, which is found at
git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git)

That version of the functions uses a case insensitive compare for
devicetree node names.

Do you remember why you chose to not use a case sensitive compare?
From memory, there were inconsistency in case on various earlier
machines (notably old macs). I think that's the main reason.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help