[PATCH net-next v2 0/2] dpaa2-eth: Move DPAA2 Ethernet driver
From: Ioana Radulescu
Date: Wed Aug 29 2018 - 05:43:10 EST
The Freescale/NXP DPAA2 Ethernet driver was first included in
drivers/staging, due to its dependencies on two components located
there at the time of its initial submission:
* the fsl-mc bus driver, which was moved to drivers/bus in kernel 4.17
* the dpio driver, which was moved to drivers/soc/fsl in kernel 4.18
More information on the DPAA2 architecture and the interactions
between the fsl-mc bus and the objects present on it can be found in:
Documentation/networking/dpaa2/overview.rst
For easier review, the patch is generated without the -M option,
although the driver files are moved without any code changes.
changes since v1[1]:
* remove RFC label, since dependencies have been merged on net-next
* add patch fixing a possible race at probe (reported by Andrew Lunn)
[1] https://lore.kernel.org/patchwork/patch/971333/
Ioana Radulescu (2):
staging: fsl-dpaa2/eth: Delay netdev_register() call
dpaa2-eth: Move DPAA2 Ethernet driver from staging to drivers/net
Documentation/networking/dpaa2/ethernet-driver.rst | 185 ++
Documentation/networking/dpaa2/index.rst | 1 +
MAINTAINERS | 4 +-
drivers/net/ethernet/freescale/Kconfig | 8 +
drivers/net/ethernet/freescale/Makefile | 2 +
drivers/net/ethernet/freescale/dpaa2/Makefile | 11 +
.../net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h | 158 ++
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 2654 +++++++++++++++++++
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | 412 +++
.../net/ethernet/freescale/dpaa2/dpaa2-ethtool.c | 280 ++
drivers/net/ethernet/freescale/dpaa2/dpkg.h | 480 ++++
drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h | 518 ++++
drivers/net/ethernet/freescale/dpaa2/dpni.c | 1600 ++++++++++++
drivers/net/ethernet/freescale/dpaa2/dpni.h | 824 ++++++
drivers/staging/fsl-dpaa2/Kconfig | 8 -
drivers/staging/fsl-dpaa2/Makefile | 1 -
drivers/staging/fsl-dpaa2/ethernet/Makefile | 11 -
drivers/staging/fsl-dpaa2/ethernet/TODO | 18 -
.../staging/fsl-dpaa2/ethernet/dpaa2-eth-trace.h | 158 --
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 2661 --------------------
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 412 ---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c | 280 --
drivers/staging/fsl-dpaa2/ethernet/dpkg.h | 480 ----
drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h | 518 ----
drivers/staging/fsl-dpaa2/ethernet/dpni.c | 1600 ------------
drivers/staging/fsl-dpaa2/ethernet/dpni.h | 824 ------
.../staging/fsl-dpaa2/ethernet/ethernet-driver.rst | 185 --
27 files changed, 7135 insertions(+), 7158 deletions(-)
create mode 100644 Documentation/networking/dpaa2/ethernet-driver.rst
create mode 100644 drivers/net/ethernet/freescale/dpaa2/Makefile
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpkg.h
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpni.c
create mode 100644 drivers/net/ethernet/freescale/dpaa2/dpni.h
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/Makefile
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/TODO
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth-trace.h
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpkg.h
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpni.c
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpni.h
delete mode 100644 drivers/staging/fsl-dpaa2/ethernet/ethernet-driver.rst
--
2.7.4