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-05-22 15:50:46 -07:00
2012-08-13 16:50:19 -07:00
2012-06-25 16:20:41 -07:00
2012-10-11 15:12:33 -04:00
2012-10-12 13:56:52 -04:00
2012-09-20 22:05:22 -04:00
2012-05-22 15:50:46 -07:00