]> git.ipfire.org Git - people/arne_f/kernel.git/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)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 14 May 2021 13:17:20 +0000 (15:17 +0200)
commit21aee072083cd4f43168bf59fea0f762c5d1f52b
tree02f2cf4c90da5f9203593c5b9557fa53aaaf8bcc
parent0f02f2a5df6472d45c2dc1eba26df907555d9932
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