mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
fea9b31e25
commit
14b26b127c
@@ -6531,9 +6531,9 @@ F: Documentation/devicetree/bindings/net/mdio*
|
|||||||
F: Documentation/devicetree/bindings/net/qca,ar803x.yaml
|
F: Documentation/devicetree/bindings/net/qca,ar803x.yaml
|
||||||
F: Documentation/networking/phy.rst
|
F: Documentation/networking/phy.rst
|
||||||
F: drivers/net/mdio/
|
F: drivers/net/mdio/
|
||||||
|
F: drivers/net/mdio/of_mdio.c
|
||||||
F: drivers/net/pcs/
|
F: drivers/net/pcs/
|
||||||
F: drivers/net/phy/
|
F: drivers/net/phy/
|
||||||
F: drivers/of/of_mdio.c
|
|
||||||
F: drivers/of/of_net.c
|
F: drivers/of/of_net.c
|
||||||
F: include/dt-bindings/net/qca-ar803x.h
|
F: include/dt-bindings/net/qca-ar803x.h
|
||||||
F: include/linux/*mdio*.h
|
F: include/linux/*mdio*.h
|
||||||
|
@@ -19,6 +19,14 @@ config MDIO_BUS
|
|||||||
reflects whether the mdio_bus/mdio_device code is built as a
|
reflects whether the mdio_bus/mdio_device code is built as a
|
||||||
loadable module or built-in.
|
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
|
if MDIO_BUS
|
||||||
|
|
||||||
config MDIO_DEVRES
|
config MDIO_DEVRES
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
# Makefile for Linux MDIO bus drivers
|
# Makefile for Linux MDIO bus drivers
|
||||||
|
|
||||||
|
obj-$(CONFIG_OF_MDIO) += of_mdio.o
|
||||||
|
|
||||||
obj-$(CONFIG_MDIO_ASPEED) += mdio-aspeed.o
|
obj-$(CONFIG_MDIO_ASPEED) += mdio-aspeed.o
|
||||||
obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o
|
obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o
|
||||||
obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o
|
obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o
|
||||||
|
@@ -74,13 +74,6 @@ config OF_NET
|
|||||||
depends on NETDEVICES
|
depends on NETDEVICES
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config OF_MDIO
|
|
||||||
def_tristate PHYLIB
|
|
||||||
depends on PHYLIB
|
|
||||||
select FIXED_PHY
|
|
||||||
help
|
|
||||||
OpenFirmware MDIO bus (Ethernet PHY) accessors
|
|
||||||
|
|
||||||
config OF_RESERVED_MEM
|
config OF_RESERVED_MEM
|
||||||
bool
|
bool
|
||||||
depends on OF_EARLY_FLATTREE
|
depends on OF_EARLY_FLATTREE
|
||||||
|
@@ -9,7 +9,6 @@ obj-$(CONFIG_OF_ADDRESS) += address.o
|
|||||||
obj-$(CONFIG_OF_IRQ) += irq.o
|
obj-$(CONFIG_OF_IRQ) += irq.o
|
||||||
obj-$(CONFIG_OF_NET) += of_net.o
|
obj-$(CONFIG_OF_NET) += of_net.o
|
||||||
obj-$(CONFIG_OF_UNITTEST) += unittest.o
|
obj-$(CONFIG_OF_UNITTEST) += unittest.o
|
||||||
obj-$(CONFIG_OF_MDIO) += of_mdio.o
|
|
||||||
obj-$(CONFIG_OF_RESERVED_MEM) += of_reserved_mem.o
|
obj-$(CONFIG_OF_RESERVED_MEM) += of_reserved_mem.o
|
||||||
obj-$(CONFIG_OF_RESOLVE) += resolver.o
|
obj-$(CONFIG_OF_RESOLVE) += resolver.o
|
||||||
obj-$(CONFIG_OF_OVERLAY) += overlay.o
|
obj-$(CONFIG_OF_OVERLAY) += overlay.o
|
||||||
|
Reference in New Issue
Block a user