Skip to content

Commit

Permalink
ipq40xx: eth: Fix PHY access over ipqess driver
Browse files Browse the repository at this point in the history
.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: openwrt#16005
(cherry picked from commit f0bb25a)
Link: openwrt#16023
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
hauke committed Jul 28, 2024
1 parent c4dc5db commit 2e06418
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2e06418

Please sign in to comment.