Skip to content

Commit

Permalink
ath25: eth: Fix PHY access over ar2313 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#16023
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
hauke committed Jul 28, 2024
1 parent 2e06418 commit 6edde2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
+ .ndo_stop = ar231x_close,
+ .ndo_start_xmit = ar231x_start_xmit,
+ .ndo_set_rx_mode = ar231x_multicast_list,
+ .ndo_do_ioctl = ar231x_ioctl,
+ .ndo_eth_ioctl = ar231x_ioctl,
+ .ndo_validate_addr = eth_validate_addr,
+ .ndo_set_mac_address = eth_mac_addr,
+ .ndo_tx_timeout = ar231x_tx_timeout,
Expand Down

0 comments on commit 6edde2b

Please sign in to comment.