net: davinci_emac: Get device MAC on 3517
authorTony Lindgren <tony@atomide.com>
Wed, 28 Jan 2015 19:33:06 +0000 (11:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jan 2015 01:42:01 +0000 (17:42 -0800)
commitf276c0ce5d9256bb87e65f88ddea28a6a5eafdb2
treea474f07c34c34cfa63a1b18ab83bd03a57ab3239
parent9120bd6e9f779d921450ec53cea02eff07003eae
net: davinci_emac: Get device MAC on 3517

Looks like on 3517 davinci_emac MAC address registers have a
different layout compared to dm816x and am33xx.

Let's add a function to get the 3517 MAC address.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/am3517.dtsi
drivers/net/ethernet/ti/davinci_emac.c