ipq40xx: eth: Fix PHY access over ipqess driver
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 25 Jul 2024 20:13:35 +0000 (22:13 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Jul 2024 14:12:51 +0000 (16:12 +0200)
.ndo_do_ioctl is not called any more. For PHY MII ioctl handling, the
kernel calls .ndo_eth_ioctl now.

See upstream Linux kernel commit:
https://git.kernel.org/linus/a76053707dbf0dc020a73b4d90cd952409ef3691

Link: https://github.com/openwrt/openwrt/pull/16005
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ipq40xx/patches-6.6/700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch

index 4910307c88708f58f84db6044b0082845c0530c9..d9ecf4b640077bc57bf1409650d442e14af59d2b 100644 (file)
@@ -996,7 +996,7 @@ Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
 +      .ndo_uninit             = ipqess_uninit,
 +      .ndo_open               = ipqess_open,
 +      .ndo_stop               = ipqess_stop,
-+      .ndo_do_ioctl           = ipqess_do_ioctl,
++      .ndo_eth_ioctl          = ipqess_do_ioctl,
 +      .ndo_start_xmit         = ipqess_xmit,
 +      .ndo_get_stats          = ipqess_get_stats,
 +      .ndo_set_mac_address    = ipqess_set_mac_address,