lxt PHY: Support for the buggy LXT973 rev A2
authorLEROY Christophe <christophe.leroy@c-s.fr>
Mon, 24 Sep 2012 04:00:58 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 21:58:06 +0000 (17:58 -0400)
commit871d1d6b59802adfd42fd22c82ec419bc8fd2f10
tree7d07604d1448af51a3fafcbf5227c188600383b8
parent26f7cbc0a5a42d8cc0c7725d10317089a8215f97
lxt PHY: Support for the buggy LXT973 rev A2

This patch adds proper handling of the buggy revision A2 of LXT973 phy, adding
precautions linked to ERRATA Item 4:

Revision A2 of LXT973 chip randomly returns the contents of the previous even
register when you read a odd register regularly

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/lxt.c