]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: add new version of phy_do_ioctl
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 20 Jan 2020 21:17:11 +0000 (22:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 09:50:41 +0000 (10:50 +0100)
commit0370ca373b0da91e1a761f259a566243ceaf33a1
tree26f3313778fd98f972e996921ac79d8c5c2a87c0
parent57d5558eafa8ff5e8772d90ff73ea769ee53c415
net: phy: add new version of phy_do_ioctl

Add a new version of phy_do_ioctl that doesn't check whether net_device
is running. It will typically be used if suitable drivers attach the
PHY in probe already.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h