projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8388546
)
tilegx net: use eth_hw_addr_random(), not eth_random_addr()
author
Chris Metcalf
<cmetcalf@tilera.com>
Wed, 18 Jul 2012 16:23:06 +0000
(12:23 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Wed, 18 Jul 2012 19:07:45 +0000
(15:07 -0400)
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
drivers/net/ethernet/tile/tilegx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/tile/tilegx.c
b/drivers/net/ethernet/tile/tilegx.c
index ac4a904344f01ab90be087bb1c5f21796b6f67ff..4e2a1628484dfbc3a6fff901d976cf751bf8c151 100644
(file)
--- 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. */