ucc_geth: Change uec phy id to the same format as gianfar's

The commit b31a1d8b41 ("gianfar: Convert
gianfar to an of_platform_driver") changes the gianfar's phy id to the
format like "mdio@xxxx:xx", but uec still uses the old format like
"xxxxxxxx:xx".  For the board whose UEC uses gianfar-mdio like
MPC8568MDS, the phy can not be attached because of the incompatible
phy id format. This patch changes uec's phy id to the same format as
gianfar's.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Haiying Wang
2009-01-29 17:28:04 -08:00
committed by David S. Miller
parent 1af7ad5104
commit b1c4a9dddf
4 changed files with 32 additions and 3 deletions

View File

@@ -1186,6 +1186,8 @@ struct ucc_geth_private {
int oldspeed;
int oldduplex;
int oldlink;
struct device_node *node;
};
void uec_set_ethtool_ops(struct net_device *netdev);