Adding OpenWrt support for QNAP QHora-301W

I found the root cause, as suspected its because kernel 6.3 has finally split out the C45 MDIO read and write operations out of C22 ones and the old way of marking C45 ops via BIT(30) in the register field doesn't work anymore so it cannot read the PHY ID of C45 only PHY-s.

I have an working fix, just refreshing it now to make a PR.

PR is here, please test:

5 Likes