net: pcs: Move XPCS into new PCS subdirectory
authorAndrew Lunn <andrew@lunn.ch>
Thu, 27 Aug 2020 02:00:28 +0000 (04:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2020 13:55:50 +0000 (06:55 -0700)
commit2fa4e4b799e191530edbae4b96b85d4486e55053
treef5a3e8598d43fd3e4647341b5a36fb3228ab0c75
parentf09665811b142cbf1eb36641ca42cee42c463b3f
net: pcs: Move XPCS into new PCS subdirectory

Create drivers/net/pcs and move the Synopsys DesignWare XPCS into the
new directory. Move the header file into a subdirectory
include/linux/pcs

Start a naming convention of all PCS files use the prefix pcs-, and
rename the XPCS files to fit.

v2:
Add include/linux/pcs

v4:
Fix include path in stmmac.
Remove PCS_DEVICES to avoid new prompts

Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
MAINTAINERS
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/pcs/Kconfig [new file with mode: 0644]
drivers/net/pcs/Makefile [new file with mode: 0644]
drivers/net/pcs/pcs-xpcs.c [new file with mode: 0644]
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/mdio-xpcs.c [deleted file]
include/linux/mdio-xpcs.h [deleted file]
include/linux/pcs/pcs-xpcs.h [new file with mode: 0644]