]> git.itanic.dy.fi Git - linux-stable/commit
lan78xx: Read MAC address from DT if present
authorPhil Elwell <phil@raspberrypi.org>
Thu, 19 Apr 2018 16:59:38 +0000 (17:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:39:09 +0000 (11:39 -0400)
commit760db29bdc97b73ff60b091315ad787b1deb5cf5
treecc739158ed3c54a9d28419d73f376d1691c399d6
parenta83762d97980f13b1ec7f2514b28666c0dac3af6
lan78xx: Read MAC address from DT if present

There is a standard mechanism for locating and using a MAC address from
the Device Tree. Use this facility in the lan78xx driver to support
applications without programmed EEPROM or OTP. At the same time,
regularise the handling of the different address sources.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c