[U-Boot] [PATCH] enable 10/100M at VSC8601 at tsec driver

Currently VSC8601 doesn't link with 10/100M partners if the EEPROM/Strapping is not set up. Setting the auto-neg register fixes this.
Signed-off-by: Andre Schwarz andre.schwarz@matrix-vision.de ---
MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
drivers/net/tsec.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 6e0f2c6..8dc70c5 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -1313,6 +1313,8 @@ struct phy_info phy_info_VSC8601 = { {MIIM_EXT_PAGE_ACCESS,0,NULL}, #endif #endif + {MIIM_ANAR, MIIM_ANAR_INIT, NULL}, + {MIIM_CONTROL, MIIM_CONTROL_RESTART, &mii_cr_init}, {miim_end,} }, (struct phy_cmd[]){ /* startup */

Dear Ben,
In message 48AAD387.5010605@matrix-vision.de Andre Schwarz wrote:
Currently VSC8601 doesn't link with 10/100M partners if the EEPROM/Strapping is not set up. Setting the auto-neg register fixes this.
I think this patch was not added, nor was any feedback sent?
Please comment.
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
Dear Ben,
In message 48AAD387.5010605@matrix-vision.de Andre Schwarz wrote:
Currently VSC8601 doesn't link with 10/100M partners if the EEPROM/Strapping is not set up. Setting the auto-neg register fixes this.
I think this patch was not added, nor was any feedback sent?
Sorry, that was the week after my daughter was born and it's all a blur. This is innocuous and I'll pull it right away.
regards, Ben

On Sun, Oct 12, 2008 at 11:18 PM, Ben Warren biggerbadderben@gmail.com wrote:
Wolfgang Denk wrote:
Dear Ben,
In message 48AAD387.5010605@matrix-vision.de Andre Schwarz wrote:
Currently VSC8601 doesn't link with 10/100M partners if the EEPROM/Strapping is not set up. Setting the auto-neg register fixes this.
I think this patch was not added, nor was any feedback sent?
Sorry, that was the week after my daughter was born and it's all a blur. This is innocuous and I'll pull it right away.
Excuses, excuses! ;)
Congratulations!
Andy
participants (4)
-
Andre Schwarz
-
Andy Fleming
-
Ben Warren
-
Wolfgang Denk