net: usb: ax88179_178a: allow optionally getting mac address from device tree
authorPeter Fink <pfink@christ-es.de>
Mon, 30 Sep 2019 12:04:03 +0000 (14:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2019 22:19:28 +0000 (15:19 -0700)
commit9fb137aef34e4eedaa23307d309b0ebe8358fea1
tree98b2cec455cd7fd9fbd8e9e83f624b1a7d4021fc
parent0d7982ce6e3a683f55def32262c9fee2b87ec8e6
net: usb: ax88179_178a: allow optionally getting mac address from device tree

Adopt and integrate the feature to pass the MAC address via device tree
from asix_device.c (03fc5d4) also to other ax88179 based asix chips.
E.g. the bootloader fills in local-mac-address and the driver will then
pick up and use this MAC address.

Signed-off-by: Peter Fink <pfink@christ-es.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/ax88179_178a.c