diff options
author | Russell King | 2016-06-23 15:50:05 +0200 |
---|---|---|
committer | David S. Miller | 2016-06-27 16:40:57 +0200 |
commit | 5ae68b0ce134f9cadae2668da82d5f9a77523314 (patch) | |
tree | 84197594d3be3f377a2a14963a3968b6ec0631bf /drivers/net/phy/Kconfig | |
parent | Merge tag 'linux-can-next-for-4.8-20160623' of git://git.kernel.org/pub/scm/l... (diff) | |
download | kernel-qcow2-linux-5ae68b0ce134f9cadae2668da82d5f9a77523314.tar.gz kernel-qcow2-linux-5ae68b0ce134f9cadae2668da82d5f9a77523314.tar.xz kernel-qcow2-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/Kconfig | 4 |
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. |