1# SPDX-License-Identifier: GPL-2.0
2config FSL_ENETC
3	tristate "ENETC PF driver"
4	depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
5	help
6	  This driver supports NXP ENETC gigabit ethernet controller PCIe
7	  physical function (PF) devices, managing ENETC Ports at a privileged
8	  level.
9
10	  If compiled as module (M), the module name is fsl-enetc.
11
12config FSL_ENETC_VF
13	tristate "ENETC VF driver"
14	depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST)
15	help
16	  This driver supports NXP ENETC gigabit ethernet controller PCIe
17	  virtual function (VF) devices enabled by the ENETC PF driver.
18
19	  If compiled as module (M), the module name is fsl-enetc-vf.
20
21config FSL_ENETC_PTP_CLOCK
22	tristate "ENETC PTP clock driver"
23	depends on PTP_1588_CLOCK_QORIQ && (FSL_ENETC || FSL_ENETC_VF)
24	default y
25	help
26	  This driver adds support for using the ENETC 1588 timer
27	  as a PTP clock. This clock is only useful if your PTP
28	  programs are getting hardware time stamps on the PTP Ethernet
29	  packets using the SO_TIMESTAMPING API.
30
31	  If compiled as module (M), the module name is fsl-enetc-ptp.
32
33config FSL_ENETC_HW_TIMESTAMPING
34	bool "ENETC hardware timestamping support"
35	depends on FSL_ENETC || FSL_ENETC_VF
36	help
37	  Enable hardware timestamping support on the Ethernet packets
38	  using the SO_TIMESTAMPING API. Because the RX BD ring dynamic
39	  allocation has not been supported and it is too expensive to use
40	  extended RX BDs if timestamping is not used, this option enables
41	  extended RX BDs in order to support hardware timestamping.
42