]> git.baikalelectronics.ru Git - kernel.git/commit
net: davinci_emac: Get device dm816x MAC address using the cpsw code
authorTony Lindgren <tony@atomide.com>
Wed, 28 Jan 2015 19:33:05 +0000 (11:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jan 2015 01:42:01 +0000 (17:42 -0800)
commit5cc6b283496eee40e5c5dd288c66d9a49d286fdd
tree379d30c613d0287e1c491b915841393c158bba1e
parent077fe5ffd4e0d5760752c248ba0fa61ab2d80365
net: davinci_emac: Get device dm816x MAC address using the cpsw code

At least on dm81xx, we can get the davinci_emac MAC address the same
way as on am33xx cpsw.

Let's also use ether_addr_copy() for davinci_emac while at it.

Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_emac.c