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)
commit1bfcc3ba7edb83fc44e9c0409e675c9936a83a50
tree43f58b2082b28e5ff56fbfb94fb6eee5db63fccf
parentd0476fd08825e872ce5b5a1fa1ea5d3d2a0c0d25
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