mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
dpaa2: fdt improve detection for dpmac/phys
'pcs-handles' are not mandatory in the device tree here so do not enforce them. This allows us to find dpmac entries needed for phys on the WHLE-LS1 as well. MFC after: 3 days Reviewed by: jceel, dsl Differential Revision: https://reviews.freebsd.org/D42644
This commit is contained in:
parent
964b3408fa
commit
6c46ebb05d
|
@ -272,8 +272,6 @@ dpaa2_mc_fdt_attach(device_t dev)
|
|||
continue;
|
||||
if (!OF_hasprop(child, "reg"))
|
||||
continue;
|
||||
if (!OF_hasprop(child, "pcs-handle"))
|
||||
continue;
|
||||
if (dpaa2_mc_fdt_probe_child(dev, child) != 0)
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue