Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67299
b: refs/heads/master
c: 96ebc3b
h: refs/heads/master
i:
  67297: 17a0906
  67295: 4267760
v: v3
  • Loading branch information
Scott Wood authored and Paul Mackerras committed Sep 13, 2007
1 parent b05c17e commit 3b8c0ab
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e
refs/heads/master: 96ebc3bfb6ddedd5a400d5653b50551d5a3de439
10 changes: 6 additions & 4 deletions trunk/arch/powerpc/boot/devtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,14 @@ void __dt_fixup_mac_addresses(u32 startindex, ...)
devp = find_node_by_prop_value(NULL, "linux,network-index",
(void*)&index, sizeof(index));

printf("ENET%d: local-mac-address <-"
" %02x:%02x:%02x:%02x:%02x:%02x\n\r", index,
addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]);
if (devp) {
printf("ENET%d: local-mac-address <-"
" %02x:%02x:%02x:%02x:%02x:%02x\n\r", index,
addr[0], addr[1], addr[2],
addr[3], addr[4], addr[5]);

if (devp)
setprop(devp, "local-mac-address", addr, 6);
}

index++;
}
Expand Down

0 comments on commit 3b8c0ab

Please sign in to comment.