Fixed PHY: Add fixed_phy_change_carrier()
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>
Fri, 14 Dec 2018 14:17:05 +0000 (15:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Dec 2018 19:24:32 +0000 (11:24 -0800)
commitb3e5464e36c07dba70b544044a297d5819351765
treeed694951dab275d9335067ea3e0cc64e2100fb78
parent4beaacc6fea5a5ec43c55c22a6c83c03a5ecc775
Fixed PHY: Add fixed_phy_change_carrier()

Drivers can use this as .ndo_change_carrier() to change carrier
via /sys/class/net/ethX/carrier.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/fixed_phy.c
include/linux/phy_fixed.h