[openwrt/openwrt] ath25: eth: Fix PHY access over ar2313 driver

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 28 14:58:10 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/6edde2b502b512cc2ee9bc91f6f221801b8e1834

commit 6edde2b502b512cc2ee9bc91f6f221801b8e1834
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jul 28 20:31:48 2024 +0200

    ath25: eth: Fix PHY access over ar2313 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/16023
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch b/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
index fcb6abff7d..abc31db15a 100644
--- a/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
+++ b/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
@@ -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,




More information about the lede-commits mailing list