
1 Jun
2012
1 Jun
'12
1:07 a.m.
Hi Michael,
On Thu, May 31, 2012 at 08:12:45PM +0200, Michael Walle wrote:
...
+#ifdef CONFIG_RESET_PHY_R +/* Configure and enable MV88E1118 PHY */ +void reset_phy(void) +{
- u16 devadr;
- char *name = "egiga1";
- if (miiphy_set_current_dev(name))
return;
- /* command to read PHY dev address */
- if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) {
printf("Err..%s could not read PHY dev address\n", __func__);
return;
- }
- /* reset the phy */
- miiphy_reset(name, devadr);
+} +#endif /* CONFIG_RESET_PHY_R */
Can you please test without this part if your network will work?
Regards, Luka