diff options
| author | Hauke Mehrtens | 2024-07-25 20:13:35 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2024-07-28 21:56:36 +0000 |
| commit | 2e064182bf1421ce00ffbfb79d147d92db4ea939 (patch) | |
| tree | 030238d135de1312e2c99191c58d920c9a6c749c | |
| parent | c4dc5dbd3313c7a7b8c2a3e79fece998eaf41339 (diff) | |
| download | openwrt-2e064182bf1421ce00ffbfb79d147d92db4ea939.tar.gz | |
ipq40xx: eth: Fix PHY access over ipqess 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 f0bb25aba2ded7bad98188cebe46efff4baa090f)
Link: https://github.com/openwrt/openwrt/pull/16023
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/ipqess/ipqess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/ipqess/ipqess.c b/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/ipqess/ipqess.c index ee33bb0166..b598343cef 100644 --- a/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/ipqess/ipqess.c +++ b/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/ipqess/ipqess.c @@ -950,7 +950,7 @@ static const struct net_device_ops ipqess_axi_netdev_ops = { .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, |