]> git.ipfire.org Git - thirdparty/linux.git/commit
net: ag71xx: use phylink_mii_ioctl
authorRosen Penev <rosenp@gmail.com>
Wed, 7 Aug 2024 21:58:27 +0000 (14:58 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Aug 2024 05:10:09 +0000 (22:10 -0700)
commit1862923bf6ae9d023826abf79d9795a06aecb350
tree381642e2eff97448205779abfef6ad912a5e205d
parentc89c6757cf9212978caeb65e84fbf92fe4495bfc
net: ag71xx: use phylink_mii_ioctl

f1294617d2f38bd2b9f6cce516b0326858b61182 removed the custom function for
ndo_eth_ioctl and used the standard phy_do_ioctl which calls
phy_mii_ioctl. However since then, this driver was ported to phylink
where it makes more sense to call phylink_mii_ioctl.

Bring back custom function that calls phylink_mii_ioctl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20240807215834.33980-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/atheros/ag71xx.c