projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ad4758
)
net: phy: icplus: use PHY_ID_MATCH_EXACT() for IP101A/G
author
Michael Walle
<michael@walle.cc>
Thu, 11 Feb 2021 07:47:43 +0000
(08:47 +0100)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Feb 2021 21:53:25 +0000
(13:53 -0800)
According to the datasheet of the IP101A/G there is no revision field
and MII_PHYSID2 always reads as 0x0c54. Use PHY_ID_MATCH_EXACT() then.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/icplus.c
b/drivers/net/phy/icplus.c
index 4407b1eb1a3d2ebb1cedb20bf6d8896fa4710b2f..ae3cf61c5ac28d613b503f8c8bb956d5ee28b091 100644
(file)
--- a/
drivers/net/phy/icplus.c
+++ b/
drivers/net/phy/icplus.c
@@
-349,7
+349,7
@@
static struct phy_driver icplus_driver[] = {
.suspend = genphy_suspend,
.resume = genphy_resume,
}, {
- PHY_ID_MATCH_
MODEL
(IP101A_PHY_ID),
+ PHY_ID_MATCH_
EXACT
(IP101A_PHY_ID),
.name = "ICPlus IP101A/G",
/* PHY_BASIC_FEATURES */
.probe = ip101a_g_probe,
@@
-365,7
+365,7
@@
module_phy_driver(icplus_driver);
static struct mdio_device_id __maybe_unused icplus_tbl[] = {
{ PHY_ID_MATCH_MODEL(IP175C_PHY_ID) },
{ PHY_ID_MATCH_MODEL(IP1001_PHY_ID) },
- { PHY_ID_MATCH_
MODEL
(IP101A_PHY_ID) },
+ { PHY_ID_MATCH_
EXACT
(IP101A_PHY_ID) },
{ }
};