]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4966d972a66619db16305023f754db146d906d69
tree7d07604d1448af51a3fafcbf5227c188600383b8
parent8adb23ef698fb56d293f3e17480753ff792c57e6
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