From: Ondrej Zary Date: Thu, 11 Oct 2012 22:51:41 +0000 (+0000) Subject: mcs7830: Fix link state detection X-Git-Tag: v3.7-rc1~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dabdaf0caa3af520dbc1df87b2fb4e77224037bd;p=pandora-kernel.git 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 Reported-by: Michael Leun Tested-by: Michael Leun Signed-off-by: David S. Miller --- Reading git-diff-tree failed