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	help
9	  This is the DPAA2 Ethernet driver supporting Freescale SoCs
10	  with DPAA2 (DataPath Acceleration Architecture v2).
11	  The driver manages network objects discovered on the Freescale
12	  MC bus.
13
14if FSL_DPAA2_ETH
15config FSL_DPAA2_ETH_DCB
16	bool "Data Center Bridging (DCB) Support"
17	default n
18	depends on DCB
19	help
20	  Enable Priority-Based Flow Control (PFC) support for DPAA2 Ethernet
21	  devices.
22endif
23
24config FSL_DPAA2_PTP_CLOCK
25	tristate "Freescale DPAA2 PTP Clock"
26	depends on FSL_DPAA2_ETH && PTP_1588_CLOCK_QORIQ
27	default y
28	help
29	  This driver adds support for using the DPAA2 1588 timer module
30	  as a PTP clock.
31