[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200727204731.1705418-1-andrew@lunn.ch>
Date: Mon, 27 Jul 2020 22:47:28 +0200
From: Andrew Lunn <andrew@...n.ch>
To: netdev <netdev@...r.kernel.org>
Cc: Ioana Ciornei <ioana.ciornei@....com>,
Florian Fainelli <f.fainelli@...il.com>,
Russell King <rmk+kernel@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>,
Andrew Lunn <andrew@...n.ch>
Subject: [PATCH RFC net-next 0/3] Restructure drivers/net/phy
RFC Because it needs 0-day build testing
The directory drivers/net/phy is getting rather cluttered with the
growing number of MDIO bus drivers and PHY device drivers. We also
have one PCS driver and more are expected soon.
Restructure the directory, moving MDIO bus drivers into /mdio. PHY
drivers into /phy. The one current PCS driver is moved into /pcs and
renamed to give it the pcs- prefix which we hope will be followed by
other PCS drivers.
Andrew Lunn (3):
net: xgene: Move shared header file into include/linux
net: phy: Move into subdirectories
net: phy: Move and rename mdio-xpcs
.../net/ethernet/apm/xgene/xgene_enet_main.h | 2 +-
drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +-
drivers/net/ethernet/stmicro/stmmac/common.h | 2 +-
drivers/net/phy/Kconfig | 489 +-----------------
drivers/net/phy/Makefile | 79 +--
drivers/net/phy/mdio/Kconfig | 226 ++++++++
drivers/net/phy/mdio/Makefile | 26 +
drivers/net/phy/{ => mdio}/mdio-aspeed.c | 0
drivers/net/phy/{ => mdio}/mdio-bcm-iproc.c | 0
drivers/net/phy/{ => mdio}/mdio-bcm-unimac.c | 0
drivers/net/phy/{ => mdio}/mdio-bitbang.c | 0
drivers/net/phy/{ => mdio}/mdio-cavium.c | 0
drivers/net/phy/{ => mdio}/mdio-cavium.h | 0
drivers/net/phy/{ => mdio}/mdio-gpio.c | 0
drivers/net/phy/{ => mdio}/mdio-hisi-femac.c | 0
drivers/net/phy/{ => mdio}/mdio-ipq4019.c | 0
drivers/net/phy/{ => mdio}/mdio-ipq8064.c | 0
drivers/net/phy/{ => mdio}/mdio-moxart.c | 0
drivers/net/phy/{ => mdio}/mdio-mscc-miim.c | 0
.../net/phy/{ => mdio}/mdio-mux-bcm-iproc.c | 0
drivers/net/phy/{ => mdio}/mdio-mux-gpio.c | 0
.../net/phy/{ => mdio}/mdio-mux-meson-g12a.c | 0
drivers/net/phy/{ => mdio}/mdio-mux-mmioreg.c | 0
.../net/phy/{ => mdio}/mdio-mux-multiplexer.c | 0
drivers/net/phy/{ => mdio}/mdio-mux.c | 0
drivers/net/phy/{ => mdio}/mdio-mvusb.c | 0
drivers/net/phy/{ => mdio}/mdio-octeon.c | 0
drivers/net/phy/{ => mdio}/mdio-sun4i.c | 0
drivers/net/phy/{ => mdio}/mdio-thunder.c | 0
drivers/net/phy/{ => mdio}/mdio-xgene.c | 2 +-
drivers/net/phy/pcs/Kconfig | 20 +
drivers/net/phy/pcs/Makefile | 4 +
.../net/phy/{mdio-xpcs.c => pcs/pcs-xpcs.c} | 2 +-
drivers/net/phy/phy/Kconfig | 243 +++++++++
drivers/net/phy/phy/Makefile | 50 ++
drivers/net/phy/{ => phy}/adin.c | 0
drivers/net/phy/{ => phy}/amd.c | 0
drivers/net/phy/{ => phy}/aquantia.h | 0
drivers/net/phy/{ => phy}/aquantia_hwmon.c | 0
drivers/net/phy/{ => phy}/aquantia_main.c | 0
drivers/net/phy/{ => phy}/at803x.c | 0
drivers/net/phy/{ => phy}/ax88796b.c | 0
drivers/net/phy/{ => phy}/bcm-cygnus.c | 0
drivers/net/phy/{ => phy}/bcm-phy-lib.c | 0
drivers/net/phy/{ => phy}/bcm-phy-lib.h | 0
drivers/net/phy/{ => phy}/bcm54140.c | 0
drivers/net/phy/{ => phy}/bcm63xx.c | 0
drivers/net/phy/{ => phy}/bcm7xxx.c | 0
drivers/net/phy/{ => phy}/bcm84881.c | 0
drivers/net/phy/{ => phy}/bcm87xx.c | 0
drivers/net/phy/{ => phy}/broadcom.c | 0
drivers/net/phy/{ => phy}/cicada.c | 0
drivers/net/phy/{ => phy}/cortina.c | 0
drivers/net/phy/{ => phy}/davicom.c | 0
drivers/net/phy/{ => phy}/dp83640.c | 0
drivers/net/phy/{ => phy}/dp83640_reg.h | 0
drivers/net/phy/{ => phy}/dp83822.c | 0
drivers/net/phy/{ => phy}/dp83848.c | 0
drivers/net/phy/{ => phy}/dp83867.c | 0
drivers/net/phy/{ => phy}/dp83869.c | 0
drivers/net/phy/{ => phy}/dp83tc811.c | 0
drivers/net/phy/{ => phy}/et1011c.c | 0
drivers/net/phy/{ => phy}/icplus.c | 0
drivers/net/phy/{ => phy}/intel-xway.c | 0
drivers/net/phy/{ => phy}/lxt.c | 0
drivers/net/phy/{ => phy}/marvell.c | 0
drivers/net/phy/{ => phy}/marvell10g.c | 0
drivers/net/phy/{ => phy}/meson-gxl.c | 0
drivers/net/phy/{ => phy}/micrel.c | 0
drivers/net/phy/{ => phy}/microchip.c | 0
drivers/net/phy/{ => phy}/microchip_t1.c | 0
drivers/net/phy/{ => phy}/mscc/Makefile | 0
drivers/net/phy/{ => phy}/mscc/mscc.h | 0
.../net/phy/{ => phy}/mscc/mscc_fc_buffer.h | 0
drivers/net/phy/{ => phy}/mscc/mscc_mac.h | 0
drivers/net/phy/{ => phy}/mscc/mscc_macsec.c | 0
drivers/net/phy/{ => phy}/mscc/mscc_macsec.h | 0
drivers/net/phy/{ => phy}/mscc/mscc_main.c | 0
drivers/net/phy/{ => phy}/national.c | 0
drivers/net/phy/{ => phy}/nxp-tja11xx.c | 0
drivers/net/phy/{ => phy}/qsemi.c | 0
drivers/net/phy/{ => phy}/realtek.c | 0
drivers/net/phy/{ => phy}/rockchip.c | 0
drivers/net/phy/{ => phy}/smsc.c | 0
drivers/net/phy/{ => phy}/ste10Xp.c | 0
drivers/net/phy/{ => phy}/teranetics.c | 0
drivers/net/phy/{ => phy}/uPD60620.c | 0
drivers/net/phy/{ => phy}/vitesse.c | 0
.../net/phy => include/linux}/mdio-xgene.h | 0
include/linux/{mdio-xpcs.h => pcs-xpcs.h} | 8 +-
90 files changed, 594 insertions(+), 561 deletions(-)
create mode 100644 drivers/net/phy/mdio/Kconfig
create mode 100644 drivers/net/phy/mdio/Makefile
rename drivers/net/phy/{ => mdio}/mdio-aspeed.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-bcm-iproc.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-bcm-unimac.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-bitbang.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-cavium.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-cavium.h (100%)
rename drivers/net/phy/{ => mdio}/mdio-gpio.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-hisi-femac.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-ipq4019.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-ipq8064.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-moxart.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mscc-miim.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mux-bcm-iproc.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mux-gpio.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mux-meson-g12a.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mux-mmioreg.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mux-multiplexer.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mux.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-mvusb.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-octeon.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-sun4i.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-thunder.c (100%)
rename drivers/net/phy/{ => mdio}/mdio-xgene.c (99%)
create mode 100644 drivers/net/phy/pcs/Kconfig
create mode 100644 drivers/net/phy/pcs/Makefile
rename drivers/net/phy/{mdio-xpcs.c => pcs/pcs-xpcs.c} (99%)
create mode 100644 drivers/net/phy/phy/Kconfig
create mode 100644 drivers/net/phy/phy/Makefile
rename drivers/net/phy/{ => phy}/adin.c (100%)
rename drivers/net/phy/{ => phy}/amd.c (100%)
rename drivers/net/phy/{ => phy}/aquantia.h (100%)
rename drivers/net/phy/{ => phy}/aquantia_hwmon.c (100%)
rename drivers/net/phy/{ => phy}/aquantia_main.c (100%)
rename drivers/net/phy/{ => phy}/at803x.c (100%)
rename drivers/net/phy/{ => phy}/ax88796b.c (100%)
rename drivers/net/phy/{ => phy}/bcm-cygnus.c (100%)
rename drivers/net/phy/{ => phy}/bcm-phy-lib.c (100%)
rename drivers/net/phy/{ => phy}/bcm-phy-lib.h (100%)
rename drivers/net/phy/{ => phy}/bcm54140.c (100%)
rename drivers/net/phy/{ => phy}/bcm63xx.c (100%)
rename drivers/net/phy/{ => phy}/bcm7xxx.c (100%)
rename drivers/net/phy/{ => phy}/bcm84881.c (100%)
rename drivers/net/phy/{ => phy}/bcm87xx.c (100%)
rename drivers/net/phy/{ => phy}/broadcom.c (100%)
rename drivers/net/phy/{ => phy}/cicada.c (100%)
rename drivers/net/phy/{ => phy}/cortina.c (100%)
rename drivers/net/phy/{ => phy}/davicom.c (100%)
rename drivers/net/phy/{ => phy}/dp83640.c (100%)
rename drivers/net/phy/{ => phy}/dp83640_reg.h (100%)
rename drivers/net/phy/{ => phy}/dp83822.c (100%)
rename drivers/net/phy/{ => phy}/dp83848.c (100%)
rename drivers/net/phy/{ => phy}/dp83867.c (100%)
rename drivers/net/phy/{ => phy}/dp83869.c (100%)
rename drivers/net/phy/{ => phy}/dp83tc811.c (100%)
rename drivers/net/phy/{ => phy}/et1011c.c (100%)
rename drivers/net/phy/{ => phy}/icplus.c (100%)
rename drivers/net/phy/{ => phy}/intel-xway.c (100%)
rename drivers/net/phy/{ => phy}/lxt.c (100%)
rename drivers/net/phy/{ => phy}/marvell.c (100%)
rename drivers/net/phy/{ => phy}/marvell10g.c (100%)
rename drivers/net/phy/{ => phy}/meson-gxl.c (100%)
rename drivers/net/phy/{ => phy}/micrel.c (100%)
rename drivers/net/phy/{ => phy}/microchip.c (100%)
rename drivers/net/phy/{ => phy}/microchip_t1.c (100%)
rename drivers/net/phy/{ => phy}/mscc/Makefile (100%)
rename drivers/net/phy/{ => phy}/mscc/mscc.h (100%)
rename drivers/net/phy/{ => phy}/mscc/mscc_fc_buffer.h (100%)
rename drivers/net/phy/{ => phy}/mscc/mscc_mac.h (100%)
rename drivers/net/phy/{ => phy}/mscc/mscc_macsec.c (100%)
rename drivers/net/phy/{ => phy}/mscc/mscc_macsec.h (100%)
rename drivers/net/phy/{ => phy}/mscc/mscc_main.c (100%)
rename drivers/net/phy/{ => phy}/national.c (100%)
rename drivers/net/phy/{ => phy}/nxp-tja11xx.c (100%)
rename drivers/net/phy/{ => phy}/qsemi.c (100%)
rename drivers/net/phy/{ => phy}/realtek.c (100%)
rename drivers/net/phy/{ => phy}/rockchip.c (100%)
rename drivers/net/phy/{ => phy}/smsc.c (100%)
rename drivers/net/phy/{ => phy}/ste10Xp.c (100%)
rename drivers/net/phy/{ => phy}/teranetics.c (100%)
rename drivers/net/phy/{ => phy}/uPD60620.c (100%)
rename drivers/net/phy/{ => phy}/vitesse.c (100%)
rename {drivers/net/phy => include/linux}/mdio-xgene.h (100%)
rename include/linux/{mdio-xpcs.h => pcs-xpcs.h} (88%)
--
2.28.0.rc0
Powered by blists - more mailing lists