[Intel-wired-lan] [next] igb: allow setting MAC address on i211 using a device tree blob
John Holland
jotihojr at gmail.com
Wed Feb 10 09:16:27 UTC 2016
On Feb 9, 2016, at 12:59, Andrew Lunn <andrew at lunn.ch> wrote:
>>> + dn = of_find_compatible_node(NULL, NULL, "intel,i211");
>
> Humm, NULL, NULL. That means find the first node anywhere in the
> device tree which matches. This is not going to work too well when you
> have multiple i211s.
>
> There is a way so specify a DT node is attached to a specific PCIe
> bus/slot. I think you should search only there, so solving the
> multiple device issue.
>
Good point. Will specify the current PCIe node.
More information about the Intel-wired-lan
mailing list