summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/tile/tilegx.c
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/ethernet/tile/tilegx.c
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/ethernet/tile/tilegx.c')
-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 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. */