Author: nwhitehorn
Date: Sun Oct 20 18:38:19 2013
New Revision: 256798
URL: http://svnweb.freebsd.org/changeset/base/256798

Log:
  Some nexus devices add wildcard children. Since fdtbus_probe returned
  BUS_PROBE_DEFAULT, it would attach to them all, producing both many
  fdtbus instances and preventing other devices from attaching. Instead
  return BUS_PROBE_NOWILDCARD, which exists for exactly this purpose.

Modified:
  head/sys/dev/fdt/fdtbus.c

Modified: head/sys/dev/fdt/fdtbus.c
==============================================================================
--- head/sys/dev/fdt/fdtbus.c   Sun Oct 20 18:13:06 2013        (r256797)
+++ head/sys/dev/fdt/fdtbus.c   Sun Oct 20 18:38:19 2013        (r256798)
@@ -161,7 +161,7 @@ fdtbus_probe(device_t dev)
        device_set_desc(dev, "FDT main bus");
        if (!bootverbose)
                device_quiet(dev);
-       return (BUS_PROBE_DEFAULT);
+       return (BUS_PROBE_NOWILDCARD);
 }
 
 static int
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to