]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabe1448d4e34a36b4b3669329e58c189f83273a1
treeffc285f56f42009b0411fd1ec98a06df58a28650
parentf01569d49f12bc1c430af55f8a74cd3fe853a158
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