net: cpsw: Add am33xx MACID readout
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 29 Sep 2014 06:53:17 +0000 (08:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2014 05:30:43 +0000 (01:30 -0400)
commit0ba517b18aac0ed747b0f0716ca87cedaa8e5491
tree10a9589527dbc58271740f8cdab67ce9b3bcbc36
parent56fdb2e04697c06b0af421cece0f360087af9cd1
net: cpsw: Add am33xx MACID readout

This patch adds a function to get the MACIDs from the am33xx SoC
control module registers which hold unique vendor MACIDs. This is only
used if of_get_mac_address() fails to get a valid mac address.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Tested-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/cpsw.txt
drivers/net/ethernet/ti/Kconfig
drivers/net/ethernet/ti/cpsw.c