openwrt/package/kernel/qca-ssdk/patches
Robert Marko 1d33ee019f kernel: qca-ssdk: fix C45 MDIO support on kernel 6.6
Kernel 6.3 has introduced separate C45 read/write operations, and thus
split them out of the C22 operations completely so the old way of marking
C45 reads and writes via the register value does not work anymore.

This is causing SSDK to fail and find C45 only PHY-s such as Aquantia ones:
[   22.187877] ssdk_phy_driver_init[371]:INFO:dev_id = 0, phy_adress = 8, phy_id = 0x0 phytype doesn't match
[   22.209924] ssdk_phy_driver_init[371]:INFO:dev_id = 0, phy_adress = 0, phy_id = 0x0 phytype doesn't match

This in turn causes USXGMII MAC autoneg bit to not get set and then UNIPHY
autoneg will time out, causing the 10G ports not to work:
[   37.292784] uniphy autoneg time out!

So, lets detect C45 reads and writes by the magic BIT(30) in the register
argument and if so call separate C45 mdiobus read/write functions.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-03-26 18:10:50 +01:00
..
101-hsl_phy-add-support-for-detection-PSGMII-PHY-mode.patch qca-ssdk: add patch to support detection of PSGMII mode for PHY 2024-02-11 21:12:29 +01:00
102-qca-ssdk-support-selecting-PCS-channel-for-PORT3-on-.patch kernel: qca-ssdk: refresh PCS patch 2024-03-05 21:43:54 +01:00
103-mdio-adapt-to-C22-and-C45-read-write-split.patch kernel: qca-ssdk: fix C45 MDIO support on kernel 6.6 2024-03-26 18:10:50 +01:00
0001-config-identify-kernel-6.6.patch kernel: qca-ssdk: allow compiling against 6.6 2024-03-22 21:19:21 +01:00
0003-Revert-qca-ssdk-enable-invoking-fdb-del-function-for.patch kernel: qca-ssdk: update to 12.4 2023-11-09 13:21:55 +01:00