]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: phylink: Use PHY device interface if N/A
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 13 Dec 2017 00:00:26 +0000 (16:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:55:01 +0000 (15:55 -0500)
commiteaaecaa72f7129e8f4cc380d07d11fa6b68a42bd
tree77f12c9c09f2fc812092bd735b7cb668b66a3372
parenta15d36f6200a628c9c0c4dbd8918f7597235d4ad
net: phy: phylink: Use PHY device interface if N/A

We may not always be able to resolve a correct phy_interface_t value before
actually connecting to the PHY device, when that happens, just have
phylink_connect_phy() utilize what the PHY device/driver provided.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c