]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce5e393cf4503b82b0e30580997dc36c7086ba7e
tree10a9589527dbc58271740f8cdab67ce9b3bcbc36
parent572ca5d57268c58398d922571071379fd92f2f49
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