]> 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)
commit231a612597a42d5753e68908d0b7a7b36852c13d
tree0d26dc8a3b48997cd48a1bfbe59562588a354be0
parentc592207655b6514b25b220762cf7e826b8897e28
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