OSDN Git Service

lan743x: allow mac address to come from dt
authorTim Harvey <tharvey@gateworks.com>
Wed, 17 Jun 2020 22:59:10 +0000 (15:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2020 03:40:18 +0000 (20:40 -0700)
commitc90834cd477a6e406c320c56774999a71a859600
tree935ec1aaa631acfd19401b8f67a9506e15c19d8a
parentd8d8b23844d627a3aafebf8f3bb9c30f9a9002c9
lan743x: allow mac address to come from dt

If a valid mac address is present in dt, use that before using
CSR's or a random mac address.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_main.c