]> 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)
commitfae27cc4eee2e5686452831b4c70e621486b9760
tree379d30c613d0287e1c491b915841393c158bba1e
parent14bda018b53f175e44de5e6d92d23513e2eb9e1b
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