diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-07-18 18:23:06 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-07-18 21:07:45 +0200 |
commit | c8ab13fb97472dfb112af98ccec88470f292d8e6 (patch) | |
tree | 34d7da58e168692d5c3241038834f90047f1c000 /drivers/net/ethernet/tile | |
parent | tilegx net driver: handle payload data not in frags (diff) | |
download | linux-c8ab13fb97472dfb112af98ccec88470f292d8e6.tar.xz linux-c8ab13fb97472dfb112af98ccec88470f292d8e6.zip |
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')
-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 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) 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. */ |