]> 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)
commite5d5a6941304a6939c08dd6b866e9b2d031e5472
tree8175848962e7b2aa6887a6f1a89a9acc7a1460f4
parentc13ccee32d5f38b0f75098a5a457a5becacc6cfa
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