* [U-Boot] [PATCH] added Vitesse VSC8211 definition to tsec.c
@ 2009-02-17 11:11 Pieter
2009-02-23 7:55 ` Ben Warren
0 siblings, 1 reply; 3+ messages in thread
From: Pieter @ 2009-02-17 11:11 UTC (permalink / raw)
To: u-boot
Added the struct containg PHY settings for the Vitesse VSC8211 phy to
the phy_info list in tsec.c
Signed-off-by:: Pieter Henning <phenning@vastech.co.za>
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 9edba6a..0e699db 100644
--- a/drivers/net/tsec.c
+++ b/drivers/net/tsec.c
@@ -1332,6 +1332,32 @@ struct phy_info phy_info_cis8201 = {
{miim_end,}
},
};
+struct phy_info phy_info_VSC8211 = {
+ 0xfc4b,
+ "Vitesse VSC8211",
+ 4,
+ (struct phy_cmd[]) { /* config */
+ /* Override PHY config settings */
+ {MIIM_CIS8201_AUX_CONSTAT, MIIM_CIS8201_AUXCONSTAT_INIT, NULL},
+ /* Set up the interface mode */
+ {MIIM_CIS8201_EXT_CON1, MIIM_CIS8201_EXTCON1_INIT, NULL},
+ /* Configure some basic stuff */
+ {MIIM_CONTROL, MIIM_CONTROL_INIT, &mii_cr_init},
+ {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_CIS8201_AUX_CONSTAT, miim_read, &mii_parse_cis8201},
+ {miim_end,}
+ },
+ (struct phy_cmd[]) { /* shutdown */
+ {miim_end,}
+ },
+};
struct phy_info phy_info_VSC8244 = {
0x3f1b,
"Vitesse VSC8244",
@@ -1590,6 +1616,7 @@ struct phy_info *phy_info[] = {
&phy_info_M88E1149S,
&phy_info_dm9161,
&phy_info_lxt971,
+ &phy_info_VSC8211,
&phy_info_VSC8244,
&phy_info_VSC8601,
&phy_info_dp83865,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2722 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090217/77641486/attachment.bin
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] added Vitesse VSC8211 definition to tsec.c
2009-02-17 11:11 [U-Boot] [PATCH] added Vitesse VSC8211 definition to tsec.c Pieter
@ 2009-02-23 7:55 ` Ben Warren
2009-03-23 15:18 ` Pieter
0 siblings, 1 reply; 3+ messages in thread
From: Ben Warren @ 2009-02-23 7:55 UTC (permalink / raw)
To: u-boot
Pieter wrote:
> Added the struct containg PHY settings for the Vitesse VSC8211 phy to
> the phy_info list in tsec.c
>
> Signed-off-by:: Pieter Henning <phenning@vastech.co.za>
>
Applied to net repo. Please note that you broke all sorts of rules
(non-plaintext message, indentation not by tabs, lines longer than 80
chars etc.) but I was in a good mood. Please be more careful next time.
regards,
Ben
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] added Vitesse VSC8211 definition to tsec.c
2009-02-23 7:55 ` Ben Warren
@ 2009-03-23 15:18 ` Pieter
0 siblings, 0 replies; 3+ messages in thread
From: Pieter @ 2009-03-23 15:18 UTC (permalink / raw)
To: u-boot
Ben Warren wrote:
> Pieter wrote:
>> Added the struct containg PHY settings for the Vitesse VSC8211 phy to
>> the phy_info list in tsec.c
>>
>> Signed-off-by:: Pieter Henning <phenning@vastech.co.za>
>>
> Applied to net repo. Please note that you broke all sorts of rules
> (non-plaintext message, indentation not by tabs, lines longer than 80
> chars etc.) but I was in a good mood. Please be more careful next time.
>
> regards,
> Ben
Hi Ben,
Thanks, I apologize for violating the rules and will be more attentive
next time
regards pieter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2722 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090323/3133c3ec/attachment-0001.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-23 15:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 11:11 [U-Boot] [PATCH] added Vitesse VSC8211 definition to tsec.c Pieter
2009-02-23 7:55 ` Ben Warren
2009-03-23 15:18 ` Pieter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox