Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 11:54:08 -0700
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        Luiz Otavio O Souza <loos@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r305114 - head/sys/arm/ti
Message-ID:  <F9864B2F-E991-431B-9180-68A6F152F2B5@bluezbox.com>
In-Reply-To: <201608310722.u7V7MEvA094475@repo.freebsd.org>
References:  <201608310722.u7V7MEvA094475@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Aug 31, 2016, at 12:22 AM, Luiz Otavio O Souza <loos@FreeBSD.org> wrote:
> 
> Author: loos
> Date: Wed Aug 31 07:22:14 2016
> New Revision: 305114
> URL: https://svnweb.freebsd.org/changeset/base/305114
> 
> Log:
>  Allow the use of control module extensions to cope with specific platform
>  features.
> 
>  Sponsored by:	Rubicon Communications, LLC (Netgate)
> 
> Modified:
>  head/sys/arm/ti/ti_scm.c
> 
> Modified: head/sys/arm/ti/ti_scm.c
> ==============================================================================
> --- head/sys/arm/ti/ti_scm.c	Wed Aug 31 07:03:06 2016	(r305113)
> +++ head/sys/arm/ti/ti_scm.c	Wed Aug 31 07:22:14 2016	(r305114)
> @@ -131,7 +131,11 @@ ti_scm_attach(device_t dev)
> 
> 	ti_scm_sc = sc;
> 
> -	return (0);
> +	/* Attach platform extensions, if any. */
> +	bus_generic_probe(dev);
> +	bus_enumerate_hinted_children(dev);
> +
> +	return (bus_generic_attach(dev));
> }

Is bus_enumerate_hinted_children really required? I think all TI platforms are FDT-compatible 


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F9864B2F-E991-431B-9180-68A6F152F2B5>