generic: net: phy: realtek: detect early version of RTL8221B
authorDaniel Golle <daniel@makrotopia.org>
Sun, 30 Apr 2023 02:59:55 +0000 (03:59 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 30 Apr 2023 16:27:00 +0000 (17:27 +0100)
commit28b3a5e6b5b17520d62745cac5cfa07e4793fe5c
tree66bf4dae2167c280c2b326ae409dd4c2122a068c
parent45f5115253362c82296eb212742381e90199b3ef
generic: net: phy: realtek: detect early version of RTL8221B

Early versions (?) of the RTL8221B PHY cannot be identified in a regular
Clause-45 bus scan as the PHY doesn't report the implemented MMDs
correctly but returns 0 instead.
Implement custom identify function using the PKGID instead of iterating
over the implemented MMDs to work-around this problem.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/pending-5.15/730-net-phy-realtek-detect-early-version-of-RTL8221B.patch [new file with mode: 0644]