summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-06-23 14:50:05 +0100
committerDavid S. Miller <davem@davemloft.net>2016-06-27 10:40:57 -0400
commit5ae68b0ce134f9cadae2668da82d5f9a77523314 (patch)
tree84197594d3be3f377a2a14963a3968b6ec0631bf /drivers/net/phy/Kconfig
parent5db15872c5370d9ae7b1d1c972a48b598b23b824 (diff)
downloadtalos-op-linux-5ae68b0ce134f9cadae2668da82d5f9a77523314.tar.gz
talos-op-linux-5ae68b0ce134f9cadae2668da82d5f9a77523314.zip
phy: move fixed_phy MII register generation to a library
Move the fixed_phy MII register generation to a library to allow other software phy implementations to use this code. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r--drivers/net/phy/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 8dac88abbc39..f96829415ce6 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -12,6 +12,9 @@ menuconfig PHYLIB
if PHYLIB
+config SWPHY
+ bool
+
comment "MII PHY device drivers"
config AQUANTIA_PHY
@@ -159,6 +162,7 @@ config MICROCHIP_PHY
config FIXED_PHY
tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
depends on PHYLIB
+ select SWPHY
---help---
Adds the platform "fixed" MDIO Bus to cover the boards that use
PHYs that are not connected to the real MDIO bus.
OpenPOWER on IntegriCloud