summaryrefslogtreecommitdiff
path: root/drivers/net/mdio/Kconfig
diff options
context:
space:
mode:
authorCalvin Johnson <calvin.johnson@oss.nxp.com>2020-10-08 17:47:06 +0300
committerJakub Kicinski <kuba@kernel.org>2020-10-10 20:55:05 +0300
commit14b26b127c098bbab9b364d90a007c478090bf5f (patch)
treedc5ebda78522c79223900ebae49566bcb80bf553 /drivers/net/mdio/Kconfig
parentfea9b31e25e6087b86aeb3dcdb1062b8d6c04c8e (diff)
downloadlinux-14b26b127c098bbab9b364d90a007c478090bf5f.tar.xz
net: phy: Move of_mdio from drivers/of to drivers/net/mdio
Better place for of_mdio.c is drivers/net/mdio. Move of_mdio.c from drivers/of to drivers/net/mdio Signed-off-by: Calvin Johnson <calvin.johnson@oss.nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/mdio/Kconfig')
-rw-r--r--drivers/net/mdio/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/mdio/Kconfig b/drivers/net/mdio/Kconfig
index 27a2a4a3d943..a10cc460d7cf 100644
--- a/drivers/net/mdio/Kconfig
+++ b/drivers/net/mdio/Kconfig
@@ -19,6 +19,14 @@ config MDIO_BUS
reflects whether the mdio_bus/mdio_device code is built as a
loadable module or built-in.
+config OF_MDIO
+ def_tristate PHYLIB
+ depends on OF
+ depends on PHYLIB
+ select FIXED_PHY
+ help
+ OpenFirmware MDIO bus (Ethernet PHY) accessors
+
if MDIO_BUS
config MDIO_DEVRES