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

Luiz Otavio O Souza loos at FreeBSD.org
Wed Aug 31 07:22:16 UTC 2016


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));
 }
 
 int


More information about the svn-src-head mailing list