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)
commitc3875ca7d9f9ad135debc78e211ea062ac48323c
tree8175848962e7b2aa6887a6f1a89a9acc7a1460f4
parent7d6da453efce17fae35707fa7e5757e7ade8b3cc
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