From: Andre Schwarz Date: Tue, 19 Aug 2008 14:07:03 +0000 (+0200) Subject: enable 10/100M at VSC8601 at tsec driver X-Git-Tag: v2008.10-rc3~16^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9d6b6925344740ca1db2f8a6bab7921ff820de3;p=u-boot 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 Signed-off-by: Ben Warren --- diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 8ab6d07303..e34076ff76 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -1366,6 +1366,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 */