svn commit: r305114 - head/sys/arm/ti

Oleksandr Tymoshenko gonzo at bluezbox.com
Wed Aug 31 19:18:38 UTC 2016


> On Aug 31, 2016, at 12:22 AM, Luiz Otavio O Souza <loos at 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 


More information about the svn-src-head mailing list