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
/
broadcom
/
bgmac-bcma.c
diff --git
a/drivers/net/ethernet/broadcom/bgmac-bcma.c
b/drivers/net/ethernet/broadcom/bgmac-bcma.c
index
9513cfb
..
2875906
100644
(file)
--- a/
drivers/net/ethernet/broadcom/bgmac-bcma.c
+++ b/
drivers/net/ethernet/broadcom/bgmac-bcma.c
@@
-150,7
+150,7
@@
static int bgmac_probe(struct bcma_device *core)
err = -ENOTSUPP;
goto err;
}
- eth
er_addr_copy(bgmac->net_dev->dev_addr
, mac);
+ eth
_hw_addr_set(bgmac->net_dev
, mac);
}
/* On BCM4706 we need common core to access PHY */