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.
This commit is contained in:
Nathan Whitehorn 2013-10-20 18:38:19 +00:00
parent 228f09b3ef
commit 457639351b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256798

View File

@ -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