aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.15/730-net-phy-realtek-detect-early-version-of-RTL8221B.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: net: phy: realtek: fix rtl822x_probe on unsupported devicesMartin Schiller2023-07-081-1/+1
| | | | | | | | | Calling rtl822x_probe() on phy devices which uses the rtl822x_read_mmd() and rtl822x_write_mmd() functions makes no sense and the probe ends with an EOPNOTSUPP error. Signed-off-by: Martin Schiller <ms@dev.tdt.de> (cherry picked from commit 5af7d47cd7fb936dc7d640e1ba63443152d0416a)
* generic: net: phy: realtek: detect early version of RTL8221BDaniel Golle2023-04-301-0/+63
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>