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: make use of eth_hw_addr_random() where appropriate
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
hisilicon
/
hip04_eth.c
diff --git
a/drivers/net/ethernet/hisilicon/hip04_eth.c
b/drivers/net/ethernet/hisilicon/hip04_eth.c
index
37b605f
..
c84ef49
100644
(file)
--- a/
drivers/net/ethernet/hisilicon/hip04_eth.c
+++ b/
drivers/net/ethernet/hisilicon/hip04_eth.c
@@
-998,7
+998,7
@@
static int hip04_mac_probe(struct platform_device *pdev)
hip04_config_port(ndev, SPEED_100, DUPLEX_FULL);
hip04_config_fifo(priv);
- eth_
random_addr(ndev->dev_addr
);
+ eth_
hw_addr_random(ndev
);
hip04_update_mac_address(ndev);
ret = hip04_alloc_ring(ndev, d);