projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethernet: use eth_hw_addr_set() instead of ether_addr_copy()
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
ti
/
netcp_core.c
diff --git
a/drivers/net/ethernet/ti/netcp_core.c
b/drivers/net/ethernet/ti/netcp_core.c
index
eda2961
..
a4cd44a
100644
(file)
--- a/
drivers/net/ethernet/ti/netcp_core.c
+++ b/
drivers/net/ethernet/ti/netcp_core.c
@@
-2028,7
+2028,7
@@
static int netcp_create_interface(struct netcp_device *netcp_device,
emac_arch_get_mac_addr(efuse_mac_addr, efuse, efuse_mac);
if (is_valid_ether_addr(efuse_mac_addr))
- eth
er_addr_copy(ndev->dev_addr
, efuse_mac_addr);
+ eth
_hw_addr_set(ndev
, efuse_mac_addr);
else
eth_random_addr(ndev->dev_addr);