dp83640: fix phy status frame event parsing
authorRichard Cochran <richardcochran@gmail.com>
Tue, 14 Jun 2011 23:55:19 +0000 (23:55 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Fri, 17 Jun 2011 03:48:12 +0000 (23:48 -0400)
commit2331038a96ecdad76c50ab223fd48d656d8a1184
tree43f58b2082b28e5ff56fbfb94fb6eee5db63fccf
parentf1dc045e685ea5424b3445c1ccaa0a25b3d661ec
dp83640: fix phy status frame event parsing

If two eternal time stamp events occur at nearly the same time, the
phyter will add an extra word into the status frame. This commit fixes
the parsing code to recognize and skip over the extra word.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
drivers/net/phy/dp83640.c