net: mdio: Move MDIO drivers into a new subdirectory
authorAndrew Lunn <andrew@lunn.ch>
Thu, 27 Aug 2020 02:00:31 +0000 (04:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2020 13:55:50 +0000 (06:55 -0700)
commita9770eac511ad82390b9f4a3c1728e078c387ac7
tree7c5cfd088abe12dd0c9f09ef092e4e6c9faa7045
parent232e15e1d7ddb191c28248cb681f4544c0ff1c54
net: mdio: Move MDIO drivers into a new subdirectory

Move all the MDIO drivers and multiplexers into drivers/net/mdio.  The
mdio core is however left in the phy directory, due to mutual
dependencies between the MDIO core and the PHY core.

Take this opportunity to sort the Kconfig based on the menuconfig
strings, and move the multiplexers to the end with a separating
comment.

v2:
Fix typo in commit message

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
31 files changed:
MAINTAINERS
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/mdio/Kconfig [new file with mode: 0644]
drivers/net/mdio/Makefile [new file with mode: 0644]
drivers/net/mdio/mdio-aspeed.c [moved from drivers/net/phy/mdio-aspeed.c with 100% similarity]
drivers/net/mdio/mdio-bcm-iproc.c [moved from drivers/net/phy/mdio-bcm-iproc.c with 100% similarity]
drivers/net/mdio/mdio-bcm-unimac.c [moved from drivers/net/phy/mdio-bcm-unimac.c with 100% similarity]
drivers/net/mdio/mdio-bitbang.c [moved from drivers/net/phy/mdio-bitbang.c with 100% similarity]
drivers/net/mdio/mdio-cavium.c [moved from drivers/net/phy/mdio-cavium.c with 100% similarity]
drivers/net/mdio/mdio-cavium.h [moved from drivers/net/phy/mdio-cavium.h with 100% similarity]
drivers/net/mdio/mdio-gpio.c [moved from drivers/net/phy/mdio-gpio.c with 100% similarity]
drivers/net/mdio/mdio-hisi-femac.c [moved from drivers/net/phy/mdio-hisi-femac.c with 100% similarity]
drivers/net/mdio/mdio-i2c.c [moved from drivers/net/phy/mdio-i2c.c with 100% similarity]
drivers/net/mdio/mdio-ipq4019.c [moved from drivers/net/phy/mdio-ipq4019.c with 100% similarity]
drivers/net/mdio/mdio-ipq8064.c [moved from drivers/net/phy/mdio-ipq8064.c with 100% similarity]
drivers/net/mdio/mdio-moxart.c [moved from drivers/net/phy/mdio-moxart.c with 100% similarity]
drivers/net/mdio/mdio-mscc-miim.c [moved from drivers/net/phy/mdio-mscc-miim.c with 100% similarity]
drivers/net/mdio/mdio-mux-bcm-iproc.c [moved from drivers/net/phy/mdio-mux-bcm-iproc.c with 100% similarity]
drivers/net/mdio/mdio-mux-gpio.c [moved from drivers/net/phy/mdio-mux-gpio.c with 100% similarity]
drivers/net/mdio/mdio-mux-meson-g12a.c [moved from drivers/net/phy/mdio-mux-meson-g12a.c with 100% similarity]
drivers/net/mdio/mdio-mux-mmioreg.c [moved from drivers/net/phy/mdio-mux-mmioreg.c with 100% similarity]
drivers/net/mdio/mdio-mux-multiplexer.c [moved from drivers/net/phy/mdio-mux-multiplexer.c with 100% similarity]
drivers/net/mdio/mdio-mux.c [moved from drivers/net/phy/mdio-mux.c with 100% similarity]
drivers/net/mdio/mdio-mvusb.c [moved from drivers/net/phy/mdio-mvusb.c with 100% similarity]
drivers/net/mdio/mdio-octeon.c [moved from drivers/net/phy/mdio-octeon.c with 100% similarity]
drivers/net/mdio/mdio-sun4i.c [moved from drivers/net/phy/mdio-sun4i.c with 100% similarity]
drivers/net/mdio/mdio-thunder.c [moved from drivers/net/phy/mdio-thunder.c with 100% similarity]
drivers/net/mdio/mdio-xgene.c [moved from drivers/net/phy/mdio-xgene.c with 100% similarity]
drivers/net/phy/Kconfig
drivers/net/phy/Makefile