aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-07-18 12:23:06 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-07-18 15:07:45 -0400
commitc8ab13fb97472dfb112af98ccec88470f292d8e6 (patch)
tree34d7da58e168692d5c3241038834f90047f1c000 /drivers/net
parent8388546e7972ef8f1bf9c981139ad59cf5331820 (diff)
tilegx net: use eth_hw_addr_random(), not eth_random_addr()
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/tile/tilegx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/tile/tilegx.c b/drivers/net/ethernet/tile/tilegx.c
index ac4a904344f0..4e2a1628484d 100644
--- a/drivers/net/ethernet/tile/tilegx.c
+++ b/drivers/net/ethernet/tile/tilegx.c
@@ -1851,7 +1851,7 @@ static void tile_net_dev_init(const char *name, const uint8_t *mac)
1851 memcpy(dev->dev_addr, mac, 6); 1851 memcpy(dev->dev_addr, mac, 6);
1852 dev->addr_len = 6; 1852 dev->addr_len = 6;
1853 } else { 1853 } else {
1854 eth_random_addr(dev->dev_addr); 1854 eth_hw_addr_random(dev);
1855 } 1855 }
1856 1856
1857 /* Register the network device. */ 1857 /* Register the network device. */