Thread (2 messages) flat view 2 messages, 2 authors, 2012-06-19

Re: [PATCH] phy/micrel: change phy_id_mask for KSZ9021 and KS8001

From: David Miller <davem@davemloft.net>
Date: 2012-06-19 07:32:00

From: Hui Wang <redacted>
Date: Mon, 18 Jun 2012 16:52:09 +0800
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 <redacted>
Cc: David S. Miller <davem@davemloft.net>
Cc: Nobuhiro Iwamatsu <redacted>
Signed-off-by: Hui Wang <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help