Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 160768
b: refs/heads/master
c: 5b1c3c8
h: refs/heads/master
v: v3
  • Loading branch information
Hartley Sweeten authored and Russell King committed Jul 17, 2009
1 parent 9b0fc5d commit e6baa50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d19d36672ee379f26b79df985a9a2e5afb3f1df1
refs/heads/master: 5b1c3c858cff4da95b9f7091eef424e706784cab
6 changes: 2 additions & 4 deletions trunk/arch/arm/mach-ep93xx/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,10 +541,8 @@ static struct platform_device ep93xx_eth_device = {

void __init ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr)
{
if (copy_addr) {
memcpy(data->dev_addr,
(void *)(EP93XX_ETHERNET_BASE + 0x50), 6);
}
if (copy_addr)
memcpy_fromio(data->dev_addr, EP93XX_ETHERNET_BASE + 0x50, 6);

ep93xx_eth_data = *data;
platform_device_register(&ep93xx_eth_device);
Expand Down

0 comments on commit e6baa50

Please sign in to comment.