]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net/phy: fix select line for TN80xx
authorShaohui Xie <Shaohui.Xie@freescale.com>
Mon, 25 Mar 2013 07:39:59 +0000 (07:39 +0000)
committerAndy Fleming <afleming@freescale.com>
Fri, 24 May 2013 21:54:09 +0000 (16:54 -0500)
commitd54097b6c10aab68dd0a88ec0d5c86615d3dd597
treef4145db1fdf5d062dc2f4c4a17e219581a6964ac
parentc416faf84f0586028d430bc962822cbfa17cece9
net/phy: fix select line for TN80xx

TN80xx has same PHY ID as TN2020, but it needs different setting to register
30.93 which used to select line, so we read register 30.32 which has
bit 15:12 to indicate PHY hardware version, for TN20xx we will get 3 or 2,
for TN80xx we will get 5 or 4.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/net/phy/teranetics.c