]> git.baikalelectronics.ru Git - kernel.git/commit
net: w5100-spi: add support to specify MAC address by device tree
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 14 May 2016 05:55:50 +0000 (14:55 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:55:49 +0000 (13:55 -0400)
commit7f371871b590a83f17a5de0eb9465876ac7634b5
tree8175848962e7b2aa6887a6f1a89a9acc7a1460f4
parent60c1986916466f2fd2897f2044d94a01b7ed8618
net: w5100-spi: add support to specify MAC address by device tree

This adds support to specify the MAC address by 'mac-address' or
'local-mac-address' properties in the device tree.  These are common
properties for the Ethernet controller.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Mike Sinkovsky <msink@permonline.ru>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/wiznet/w5100-spi.c
drivers/net/ethernet/wiznet/w5100.c
drivers/net/ethernet/wiznet/w5100.h