Ondrej Zary dabdaf0caa mcs7830: Fix link state detection
The device had an undocumented "feature": it can provide a sequence of
spurious link-down status data even if the link is up all the time.
A sequence of 10 was seen so update the link state only after the device
reports the same link state 20 times.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reported-by: Michael Leun <lkml20120218@newton.leun.net>
Tested-by: Michael Leun <lkml20120218@newton.leun.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-10-12 13:56:52 -04:00
..
2012-07-24 13:54:16 -07:00
2012-08-03 20:32:31 -07:00
2012-10-11 15:18:49 -04:00
2012-09-01 22:44:13 -04:00
2012-10-12 13:56:52 -04:00
2012-10-02 14:37:31 -04:00
2012-10-01 18:39:45 -04:00
2012-10-07 07:13:01 +09:00