]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: add generic ndo_do_ioctl handler phy_do_ioctl
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 19 Jan 2020 13:31:55 +0000 (14:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2020 09:43:24 +0000 (10:43 +0100)
commitdfbaa0b7d746539082dacab29d579c4250929122
tree97ab900ed31d71bc7cfe1a194f19a31d0a7c3de9
parent3b319097f5db2a6493458800937aad3bdd9380f7
net: phy: add generic ndo_do_ioctl handler phy_do_ioctl

A number of network drivers has the same glue code to use phy_mii_ioctl
as ndo_do_ioctl handler. So let's add such a generic ndo_do_ioctl
handler to phylib.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h