mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 10:46:41 +00:00
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 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
f86273e742
commit
dbccc9cf91
@ -1480,7 +1480,7 @@ static const struct net_device_ops fe_netdev_ops = {
|
||||
.ndo_start_xmit = fe_start_xmit,
|
||||
.ndo_set_mac_address = fe_set_mac_address,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_do_ioctl = fe_do_ioctl,
|
||||
.ndo_eth_ioctl = fe_do_ioctl,
|
||||
.ndo_change_mtu = fe_change_mtu,
|
||||
.ndo_tx_timeout = fe_tx_timeout,
|
||||
.ndo_get_stats64 = fe_get_stats64,
|
||||
|
Loading…
Reference in New Issue
Block a user