]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
enable 10/100M at VSC8601 at tsec driver
authorAndre Schwarz <andre.schwarz@matrix-vision.de>
Tue, 19 Aug 2008 14:07:03 +0000 (16:07 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 14 Oct 2008 05:29:37 +0000 (22:29 -0700)
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>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/tsec.c

index 8ab6d07303be19e7d076f0ac6425fa8aea4f6d93..e34076ff763e3c43996ea8b2ea28158b3d3c364f 100644 (file)
@@ -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 */