net/macb: add DT support for Cadence macb/gem driver
commitfb97a8466522f8f35ab886f7af8eefefa0a4905e
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 18 Nov 2011 14:29:25 +0000 (18 15:29 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 16 Dec 2011 12:11:00 +0000 (16 13:11 +0100)
treea209f86f003cf9aeec88cecb9f1bf8e8a79b19e6
parent0116da4fcc1ae8a80d9002441e98768f2a6fa2fe
net/macb: add DT support for Cadence macb/gem driver

Allow the device tree to provide the mac address and the phy mode.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
[nicolas.ferre@atmel.com: change "compatible" node property, doc and DT hwaddr]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
[jamie@jamieiles.com: add "gem" compatibility strings and doc]
Acked-by: Jamie Iles<jamie@jamieiles.com>
Acked-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/macb.txt [new file with mode: 0644]
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h