> What is the best way to implement it on devices without dedicated HW > counter? I assume in most cases only PHY driver would not real state of > link. I would hook into the PHY state machine. PHY_RUNNING means the link is up. If it transitions to PHY_NOLINK the link has been lost. Andrew