projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethernet: use eth_hw_addr_set() instead of ether_addr_copy()
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
cavium
/
liquidio
/
lio_main.c
diff --git
a/drivers/net/ethernet/cavium/liquidio/lio_main.c
b/drivers/net/ethernet/cavium/liquidio/lio_main.c
index
dafc79b
..
5d865ba
100644
(file)
--- a/
drivers/net/ethernet/cavium/liquidio/lio_main.c
+++ b/
drivers/net/ethernet/cavium/liquidio/lio_main.c
@@
-3634,7
+3634,7
@@
static int setup_nic_devices(struct octeon_device *octeon_dev)
/* Copy MAC Address to OS network device structure */
- eth
er_addr_copy(netdev->dev_addr
, mac);
+ eth
_hw_addr_set(netdev
, mac);
/* By default all interfaces on a single Octeon uses the same
* tx and rx queues