diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-07-18 12:23:06 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-07-18 15:07:45 -0400 |
commit | c8ab13fb97472dfb112af98ccec88470f292d8e6 (patch) | |
tree | 34d7da58e168692d5c3241038834f90047f1c000 | |
parent | 8388546e7972ef8f1bf9c981139ad59cf5331820 (diff) |
tilegx net: use eth_hw_addr_random(), not eth_random_addr()
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
-rw-r--r-- | drivers/net/ethernet/tile/tilegx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/tile/tilegx.c b/drivers/net/ethernet/tile/tilegx.c index ac4a904344f..4e2a1628484 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) memcpy(dev->dev_addr, mac, 6); dev->addr_len = 6; } else { - eth_random_addr(dev->dev_addr); + eth_hw_addr_random(dev); } /* Register the network device. */ |