OSDN Git Service

net: phy: remove state PHY_FORCING
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 4 Jun 2019 21:02:34 +0000 (23:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2019 00:43:46 +0000 (17:43 -0700)
commit2bd229df5e2ecbc13909f71dbd196fced1d533ca
treeffc285f56f42009b0411fd1ec98a06df58a28650
parentfe3475af3bdf38fac78787ec2fe9eedaf2518188
net: phy: remove state PHY_FORCING

In the early days of phylib we had a functionality that changed to the
next lower speed in fixed mode if no link was established after a
certain period of time. This functionality has been removed years ago,
and state PHY_FORCING isn't needed any longer. Instead we can go from
UP to RUNNING or NOLINK directly (same as in autoneg mode).

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