linux/drivers/net/ethernet/sunplus
谢致邦 (XIE Zhibang) 5b4c2fdf72 net: ethernet: sunplus: Switch to ndo_eth_ioctl
The device ioctl handler no longer calls ndo_do_ioctl, but calls
ndo_eth_ioctl to handle mii ioctls since commit a76053707d
("dev_ioctl: split out ndo_eth_ioctl"). However, sunplus still used
ndo_do_ioctl when it was introduced. So switch to ndo_eth_ioctl.

Bad commit fd3040b939 ("net: ethernet: Add driver for Sunplus SP7021")
was the initial driver commit, meaning that PHY IOCTLs where never
available on this driver. Therefore don't consider this as a fix.

Found by code inspection.

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Link: https://patch.msgid.link/tencent_8CF8A72C708E96B9C7DC1AF96FEE19AF3D05@qq.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-01-14 18:09:04 -08:00
..
Kconfig
Makefile
spl2sw_define.h
spl2sw_desc.c
spl2sw_desc.h
spl2sw_driver.c net: ethernet: sunplus: Switch to ndo_eth_ioctl 2025-01-14 18:09:04 -08:00
spl2sw_int.c
spl2sw_int.h
spl2sw_mac.c
spl2sw_mac.h
spl2sw_mdio.c
spl2sw_mdio.h
spl2sw_phy.c
spl2sw_phy.h
spl2sw_register.h