Re: [PATCH] net: usb: asix: allow optionally getting mac address from device tree

From: Andrew Lunn
Date: Mon Jun 25 2018 - 11:28:26 EST


> Now that you mentioned eth_platform_get_mac_address() on my igb attempt I am
> wondering whether that would not also be the better approach for ASIX USB net
> use. Looks like at least lan78xx already does it that way as well.
>
> What do you think?

Hi Marcel

eth_platform_get_mac_address() is preferred, since it will try DT,
ACPI, and anything else the platform supports.

Andrew