Date: Sun, 20 Oct 2013 18:38:19 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r256798 - head/sys/dev/fdt Message-ID: <201310201838.r9KIcJLQ092505@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310201838.r9KIcJLQ092505>