commit | d54097b6c10aab68dd0a88ec0d5c86615d3dd597 | [log] [tgz] |
---|---|---|
author | Shaohui Xie <Shaohui.Xie@freescale.com> | Mon Mar 25 07:39:59 2013 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Fri May 24 16:54:09 2013 -0500 |
tree | f4145db1fdf5d062dc2f4c4a17e219581a6964ac | |
parent | c416faf84f0586028d430bc962822cbfa17cece9 [diff] |
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>