diff options
author | Jason Wang <jason77.wang@gmail.com> | 2012-06-17 22:52:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-19 00:31:36 -0700 |
commit | 48d7d0ad9022b36be9fd8a236fb58ad4c0f3b80c (patch) | |
tree | 2a9e0dfa356b285ec79056423ebdc3fdfbceea61 /init/do_mounts_initrd.c | |
parent | 39d84a58ad6290a43e6503acc8b54ebb7e4ecc54 (diff) |
phy/micrel: change phy_id_mask for KSZ9021 and KS8001
On a freescale imx6q platform, a hardware phy chip KSZ9021 is
recognized as a KS8001 chip by the current driver like this:
eth0: Freescale FEC PHY driver [Micrel KS8001 or KS8721]
KSZ9021 has phy_id 0x00221610, while KSZ8001 has phy_id
0x0022161a, the current phy_id_mask (0x00fffff0/0x00ffff10) can't
distinguish them. So change phy_id_mask to resolve this problem.
Although the micrel datasheet says that the 4 LSB of phyid2 register
contains the chip revision number and the current driver is designed
to follow this rule, in reality the chip implementation doesn't follow
it.
Cc: David J. Choi <david.choi@micrel.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions