]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: probe the PHY before determining the supported features
authorAndrew Lunn <andrew@lunn.ch>
Sat, 9 Feb 2019 13:46:30 +0000 (14:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Feb 2019 17:31:30 +0000 (09:31 -0800)
commitbf83fa182c836adfdd5ea5006d4630080480f9ef
tree5c79d0e768b83ac15ab25bef960275d1e4a53fd0
parent87093e5ca9c68390b8f693076537ff69fda3373e
net: phy: probe the PHY before determining the supported features

We will soon support asking the PHY at runtime to determine what
features it supports, rather than forcing it to be compile time.
But we should probe the PHY first. So probe the phy driver earlier.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c