Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2015 11:53:15 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Oleksandr Tymoshenko <gonzo@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r283275 - head/sys/dev/fdt
Message-ID:  <20150522115315.5e2ba6fa@bender>
In-Reply-To: <201505220200.t4M20jfi082771@svn.freebsd.org>
References:  <201505220200.t4M20jfi082771@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 May 2015 02:00:45 +0000 (UTC)
Oleksandr Tymoshenko <gonzo@FreeBSD.org> wrote:

> Author: gonzo
> Date: Fri May 22 02:00:44 2015
> New Revision: 283275
> URL: https://svnweb.freebsd.org/changeset/base/283275
> 
> Log:
>   Add helper method fdt_find_child to make access to child nodes
> easier. 
>   Some FDT nodes have complex properties organized as a child
> sub-nodes (e.g. timing for LCD panel) we need easy way to obtain
> handles for these sub-nodes

Why is this named fdt_find_child? It's not fdt specific so should be
named something like ofw_bus_find_child and live in
sys/dev/ofw/ofw_bus_subr.c.

In general we are trying to move away from the fdt_ functions unless
absolutely needed.

Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150522115315.5e2ba6fa>