Re: [ECOS] How to get Ethernet link status?

2008-12-16 Thread damien millescamps
you need to call _eth_phy_state(eth_phy_access_t *f) The argument being a pointer to the structure handling the PHY read and write of your device. On Tue, Dec 16, 2008 at 6:53 PM, Grant Edwards gra...@visi.com wrote: What is the official method used to get the link status of an interface

RE: [ECOS] How to get Ethernet link status?

2008-12-16 Thread Jay Foster
I've done this by implementing my own function, which calls the _eth_phy_state() function from the Generic PHY Package. Depending on which drivers/packages are configured, my function might call the ethernet driver specific function (PhyStatus() for example), or the _eth_phy_state() function when