Skip to content

Commit

Permalink
dpaa2-eth: Move DPAA2 Ethernet driver from staging to drivers/net
Browse files Browse the repository at this point in the history
The DPAA2 Ethernet driver supports Freescale/NXP SoCs with DPAA2
(DataPath Acceleration Architecture v2). The driver manages
network objects discovered on the fsl-mc bus.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ioana Radulescu authored and David S. Miller committed Sep 2, 2018
1 parent 7f12c8a commit 34ff684
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 29 deletions.
1 change: 1 addition & 0 deletions Documentation/networking/dpaa2/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ DPAA2 Documentation

overview
dpio-driver
ethernet-driver
4 changes: 2 additions & 2 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4527,9 +4527,9 @@ F: drivers/soc/fsl/dpio

DPAA2 ETHERNET DRIVER
M: Ioana Radulescu <ruxandra.radulescu@nxp.com>
L: linux-kernel@vger.kernel.org
L: netdev@vger.kernel.org
S: Maintained
F: drivers/staging/fsl-dpaa2/ethernet
F: drivers/net/ethernet/freescale/dpaa2

DPAA2 ETHERNET SWITCH DRIVER
M: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Expand Down
8 changes: 8 additions & 0 deletions drivers/net/ethernet/freescale/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,12 @@ config GIANFAR

source "drivers/net/ethernet/freescale/dpaa/Kconfig"

config FSL_DPAA2_ETH
tristate "Freescale DPAA2 Ethernet"
depends on FSL_MC_BUS && FSL_MC_DPIO
depends on NETDEVICES && ETHERNET
---help---
Ethernet driver for Freescale DPAA2 SoCs, using the
Freescale MC bus driver

endif # NET_VENDOR_FREESCALE
2 changes: 2 additions & 0 deletions drivers/net/ethernet/freescale/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o

obj-$(CONFIG_FSL_FMAN) += fman/
obj-$(CONFIG_FSL_DPAA_ETH) += dpaa/

obj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 0 additions & 8 deletions drivers/staging/fsl-dpaa2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ config FSL_DPAA2
Build drivers for Freescale DataPath Acceleration
Architecture (DPAA2) family of SoCs.

config FSL_DPAA2_ETH
tristate "Freescale DPAA2 Ethernet"
depends on FSL_DPAA2 && FSL_MC_DPIO
depends on NETDEVICES && ETHERNET
---help---
Ethernet driver for Freescale DPAA2 SoCs, using the
Freescale MC bus driver

config FSL_DPAA2_ETHSW
tristate "Freescale DPAA2 Ethernet Switch"
depends on FSL_DPAA2
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/fsl-dpaa2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
# Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers
#

obj-$(CONFIG_FSL_DPAA2_ETH) += ethernet/
obj-$(CONFIG_FSL_DPAA2_ETHSW) += ethsw/
obj-$(CONFIG_FSL_DPAA2_PTP_CLOCK) += rtc/
18 changes: 0 additions & 18 deletions drivers/staging/fsl-dpaa2/ethernet/TODO

This file was deleted.

0 comments on commit 34ff684

Please sign in to comment.