Can we hook a device as device to two different parent devices?

Dmitry Salychev dsl at mcusim.org
Fri Jun 5 11:14:38 UTC 2020


Hi John-Mark,

> I think you're confused.  The device tree is a strict tree.  This
> means that a device can have ONLY one parent.  The multiple parents
> is simply saying that a device can attach at different points in the
> tree...
Does it mean that there is some kind of priorities in probes for
different buses to attach a device to?

Let's say that there are IIC and SPI buses for a device (like Ethernet
switch) which can be used to control it.

Which one will be probed first? Is there a way to re-define it?

Regards,
Dmitry


More information about the freebsd-drivers mailing list