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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to