This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thanks, /Mikhail
In my case, Vitesse VSC8244 PHY is inferred so VSC8244.c is compiled and it includes the line:
_eth_phy_dev("Vitesse VSC8244", 0x000FC6C2, VSC8244_stat)
In the MAC layer, I call _eth_phy_init() to probe for the PHY and I get the PHY status by calling _eth_phy_state() which uses the stat() function of the PHY. I use the PHY state to configure the MAC layer according to current link speed and duplex mode reported.
Christophe
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |