]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: enc28j60: add device tree support
authorMichael Heimpold <mhei@heimpold.de>
Thu, 28 Apr 2016 20:06:15 +0000 (22:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 20:23:02 +0000 (16:23 -0400)
commita1f7d29c7dce3732210f5ac5607f76fd5f021174
tree0d26dc8a3b48997cd48a1bfbe59562588a354be0
parentaaa1d0d68f1df225e0ec1b88106fe1915364c268
net: ethernet: enc28j60: add device tree support

The following patch adds the required match table for device tree support
(and while at, fix the indent). It's also possible to specify the
MAC address in the DT blob.

Also add the corresponding binding documentation file.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/microchip,enc28j60.txt [new file with mode: 0644]
drivers/net/ethernet/microchip/enc28j60.c