]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a7f4ce06175ab0099b4ec6bc8b14542b6d689b9
tree98b2cec455cd7fd9fbd8e9e83f624b1a7d4021fc
parent602d0541a77d2a541ab2d30e8e1fbd321796c7df
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 (0c7f677) 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