1# SPDX-License-Identifier: GPL-2.0-only
2config FSL_DPAA2_ETH
3	tristate "Freescale DPAA2 Ethernet"
4	depends on FSL_MC_BUS && FSL_MC_DPIO
5	select PHYLINK
6	select PCS_LYNX
7	select FSL_XGMAC_MDIO
8	select NET_DEVLINK
9	help
10	  This is the DPAA2 Ethernet driver supporting Freescale SoCs
11	  with DPAA2 (DataPath Acceleration Architecture v2).
12	  The driver manages network objects discovered on the Freescale
13	  MC bus.
14
15if FSL_DPAA2_ETH
16config FSL_DPAA2_ETH_DCB
17	bool "Data Center Bridging (DCB) Support"
18	default n
19	depends on DCB
20	help
21	  Enable Priority-Based Flow Control (PFC) support for DPAA2 Ethernet
22	  devices.
23endif
24
25config FSL_DPAA2_PTP_CLOCK
26	tristate "Freescale DPAA2 PTP Clock"
27	depends on FSL_DPAA2_ETH && PTP_1588_CLOCK_QORIQ
28	default y
29	help
30	  This driver adds support for using the DPAA2 1588 timer module
31	  as a PTP clock.
32
33config FSL_DPAA2_SWITCH
34	tristate "Freescale DPAA2 Ethernet Switch"
35	depends on BRIDGE || BRIDGE=n
36	depends on NET_SWITCHDEV
37	help
38	  Driver for Freescale DPAA2 Ethernet Switch. This driver manages
39	  switch objects discovered on the Freeescale MC bus.
40