ramips: eth: Fix PHY access over mtk_eth_soc driver
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 25 Jul 2024 20:09:04 +0000 (22:09 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Jul 2024 21:56:36 +0000 (23:56 +0200)
commitc4dc5dbd3313c7a7b8c2a3e79fece998eaf41339
tree06880cd4f0121d6e97ea89b6567264edb7d2429b
parente5233fa70e9f5c3cc51d48f9b4670f2313570489
ramips: eth: Fix PHY access over mtk_eth_soc driver

.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
(cherry picked from commit dbccc9cf9161103448737785617e6ad537c7da9f)
Link: https://github.com/openwrt/openwrt/pull/16023
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c