[PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

Andrew Lunn andrew at lunn.ch
Thu Mar 6 12:23:39 EST 2014


> Can't we fix this so the probe order doesn't affect the name?
> 
> Is that sane?

You are not supposed to trust the device name, since probing can
happen in parallel, on different buses. udev should have rules to name
the interfaces based on the MAC address. On my Debian system i have:

/etc/udev/rules.d/70-persistent-net.rules

So what is important is that the MAC addresses are assigned correctly
to the device. And DT does that based on MMIO address, so should be
reliable, independent of probe order.

   Andrew



More information about the linux-arm-kernel mailing list