# Re: \[PATCH net-next 0/3\] net: phy: add new version of phy\_do\_ioctl and convert suitable drivers

- From: Florian Fainelli \<f.fainelli@gmail.com\>
- Date: 2020-01-20 22:05:48 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/01/11158452
- Thread: https://ratatoskr.run/netdev/2020/01/11158444/t.md

```text
On 1/20/20 1:15 PM, Heiner Kallweit wrote:
> We just added phy_do_ioctl, but it turned out that we need another
> version of this function that doesn't check whether net_device is
> running. So rename phy_do_ioctl to phy_do_ioctl_running and add a
> new version of phy_do_ioctl. Eventually convert suitable drivers
> to use phy_do_ioctl.
> 
> Heiner Kallweit (3):
>   net: phy: rename phy_do_ioctl to phy_do_ioctl_running
>   net: phy: add new version of phy_do_ioctl
>   net: convert suitable network drivers to use phy_do_ioctl
> 
>  drivers/net/ethernet/agere/et131x.c          | 11 +----------
>  drivers/net/ethernet/atheros/ag71xx.c        | 10 +---------
>  drivers/net/ethernet/faraday/ftgmac100.c     | 11 +----------
>  drivers/net/ethernet/freescale/fec_mpc52xx.c | 12 +-----------
>  drivers/net/ethernet/rdc/r6040.c             | 10 +---------
>  drivers/net/ethernet/realtek/r8169_main.c    |  2 +-
>  drivers/net/phy/phy.c                        | 12 +++++++++++-
>  include/linux/phy.h                          |  1 +
>  8 files changed, 18 insertions(+), 51 deletions(-)

Now the diffstat is convincing :) Thanks!
-- 
Florian
```
