Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123065
b: refs/heads/master
c: 24a9959
h: refs/heads/master
i:
  123063: c669254
v: v3
  • Loading branch information
Kumar Gala committed Dec 3, 2008
1 parent 0bef307 commit 0378815
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: d5b26db2cfcf09f28f4839c8c3484279cd5ea5b3
refs/heads/master: 24a99596f7465274a8e65ddd29a7d9028969b9f9
6 changes: 4 additions & 2 deletions trunk/arch/powerpc/platforms/85xx/mpc85xx_mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,15 @@ static int __init board_fixups(void)
mdio = of_find_compatible_node(NULL, NULL, compstrs[i]);

of_address_to_resource(mdio, 0, &res);
snprintf(phy_id, BUS_ID_SIZE, "%x:%02x", res.start, 1);
snprintf(phy_id, BUS_ID_SIZE, "%llx:%02x",
(unsigned long long)res.start, 1);

phy_register_fixup_for_id(phy_id, mpc8568_fixup_125_clock);
phy_register_fixup_for_id(phy_id, mpc8568_mds_phy_fixups);

/* Register a workaround for errata */
snprintf(phy_id, BUS_ID_SIZE, "%x:%02x", res.start, 7);
snprintf(phy_id, BUS_ID_SIZE, "%llx:%02x",
(unsigned long long)res.start, 7);
phy_register_fixup_for_id(phy_id, mpc8568_mds_phy_fixups);

of_node_put(mdio);
Expand Down

0 comments on commit 0378815

Please sign in to comment.