summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-07-18 18:23:06 +0200
committerChris Metcalf <cmetcalf@tilera.com>2012-07-18 21:07:45 +0200
commitc8ab13fb97472dfb112af98ccec88470f292d8e6 (patch)
tree34d7da58e168692d5c3241038834f90047f1c000 /drivers/net/ethernet/tile
parenttilegx net driver: handle payload data not in frags (diff)
downloadlinux-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.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)
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. */