summaryrefslogtreecommitdiff
path: root/drivers/net/tsec.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-08 00:11:22 +0200
committerWolfgang Denk <wd@denx.de>2008-04-08 00:11:22 +0200
commitf9eabcb357ea294e3e01bfe26841bf51d6bd8f05 (patch)
tree7e3dffe10717babf2e2430ab4c9ed236bcba3742 /drivers/net/tsec.c
parent2c78febd114b716714e7ac83c17bac5e30066512 (diff)
parent2d934ea51f276522b532f870a820e844ff480b5b (diff)
downloadu-boot-imx-f9eabcb357ea294e3e01bfe26841bf51d6bd8f05.zip
u-boot-imx-f9eabcb357ea294e3e01bfe26841bf51d6bd8f05.tar.gz
u-boot-imx-f9eabcb357ea294e3e01bfe26841bf51d6bd8f05.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-net
Diffstat (limited to 'drivers/net/tsec.c')
-rw-r--r--drivers/net/tsec.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 431a8d2..9d22aa3 100644
--- a/drivers/net/tsec.c
+++ b/drivers/net/tsec.c
@@ -1267,6 +1267,35 @@ struct phy_info phy_info_VSC8244 = {
},
};
+struct phy_info phy_info_VSC8601 = {
+ 0x00007042,
+ "Vitesse VSC8601",
+ 4,
+ (struct phy_cmd[]){ /* config */
+ /* Override PHY config settings */
+ /* Configure some basic stuff */
+ {MIIM_CONTROL, MIIM_CONTROL_INIT, &mii_cr_init},
+#ifdef CFG_VSC8601_SKEWFIX
+ {MIIM_VSC8601_EPHY_CON,MIIM_VSC8601_EPHY_CON_INIT_SKEW,NULL},
+#endif
+ {miim_end,}
+ },
+ (struct phy_cmd[]){ /* startup */
+ /* Read the Status (2x to make sure link is right) */
+ {MIIM_STATUS, miim_read, NULL},
+ /* Auto-negotiate */
+ {MIIM_STATUS, miim_read, &mii_parse_sr},
+ /* Read the status */
+ {MIIM_VSC8244_AUX_CONSTAT, miim_read,
+ &mii_parse_vsc8244},
+ {miim_end,}
+ },
+ (struct phy_cmd[]){ /* shutdown */
+ {miim_end,}
+ },
+};
+
+
struct phy_info phy_info_dm9161 = {
0x0181b88,
"Davicom DM9161E",
@@ -1462,6 +1491,7 @@ struct phy_info *phy_info[] = {
&phy_info_dm9161,
&phy_info_lxt971,
&phy_info_VSC8244,
+ &phy_info_VSC8601,
&phy_info_dp83865,
&phy_info_rtl8211b,
&phy_info_generic,