summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Schwarz <andre.schwarz@matrix-vision.de>2008-08-19 16:07:03 +0200
committerBen Warren <biggerbadderben@gmail.com>2008-10-13 22:29:37 -0700
commitc9d6b6925344740ca1db2f8a6bab7921ff820de3 (patch)
tree26b59feb14ec0a48115d5a7dfc329f85af7147eb
parent702c85b0e876d587c11acdbb55738ee52acd54f4 (diff)
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> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
-rw-r--r--drivers/net/tsec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 8ab6d07303b..e34076ff763 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 */