Skip to content

Commit

Permalink
realtek: phy: fix RTL8218D detection
Browse files Browse the repository at this point in the history
Currently RTL8218D detection works for a range of devices. That can lead to
false positives. E.g. RTL8218B or RTL8214FC are covered by the detection mask.
as well. That is wrong. Nail detection down to the real RTL8218D phy id.

Signed-off-by: Markus Stockhausen <[email protected]>
  • Loading branch information
plappermaul committed Sep 22, 2024
1 parent afcd349 commit fb8b2ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3936,7 +3936,7 @@ static struct phy_driver rtl83xx_phy_driver[] = {
.get_eee = rtl8218b_get_eee,
},
{
PHY_ID_MATCH_MODEL(PHY_ID_RTL8218D),
PHY_ID_MATCH_EXACT(PHY_ID_RTL8218D),
.name = "REALTEK RTL8218D",
.features = PHY_GBIT_FEATURES,
.probe = rtl8218d_phy_probe,
Expand Down

0 comments on commit fb8b2ef

Please sign in to comment.