drivers/net/ethernet/freescale/enetc/Kconfig

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/freescale/enetc/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/freescale/enetc/Kconfig
Extension
[no extension]
Size
4256 bytes
Lines
133
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
config FSL_ENETC_CORE
	tristate
	select NXP_NETC_LIB if NXP_NTMP
	help
	  This module supports common functionality between the PF and VF
	  drivers for the NXP ENETC controller.

	  If compiled as module (M), the module name is fsl-enetc-core.

config NXP_ENETC_PF_COMMON
	tristate
	select CRC_ITU_T
	help
	  This module supports common functionality between drivers of
	  different versions of NXP ENETC PF controllers.

	  If compiled as module (M), the module name is nxp-enetc-pf-common.

config NXP_NETC_LIB
	tristate
	help
	  This module provides common functionalities for both ENETC and NETC
	  Switch, such as NETC Table Management Protocol (NTMP) 2.0, common tc
	  flower and debugfs interfaces and so on.

config NXP_NTMP
	bool

config FSL_ENETC
	tristate "ENETC PF driver"
	depends on PTP_1588_CLOCK_OPTIONAL
	depends on PCI_MSI
	select FSL_ENETC_CORE
	select FSL_ENETC_IERB
	select FSL_ENETC_MDIO
	select NXP_ENETC_PF_COMMON
	select PHYLINK
	select PCS_LYNX
	select DIMLIB
	help
	  This driver supports NXP ENETC gigabit ethernet controller PCIe
	  physical function (PF) devices, managing ENETC Ports at a privileged
	  level.

	  If compiled as module (M), the module name is fsl-enetc.

config NXP_ENETC4
	tristate "ENETC4 PF driver"
	depends on PTP_1588_CLOCK_OPTIONAL
	depends on PCI_MSI
	select FSL_ENETC_CORE
	select FSL_ENETC_MDIO
	select NXP_ENETC_PF_COMMON
	select NXP_NTMP
	select PHYLINK
	select DIMLIB
	help
	  This driver supports NXP ENETC devices with major revision 4. ENETC is
	  as the NIC functionality in NETC, it supports virtualization/isolation
	  based on PCIe Single Root IO Virtualization (SR-IOV) and a full range
	  of TSN standards and NIC offload capabilities.

	  If compiled as module (M), the module name is nxp-enetc4.

config FSL_ENETC_VF
	tristate "ENETC VF driver"
	depends on PTP_1588_CLOCK_OPTIONAL
	depends on PCI_MSI
	select FSL_ENETC_CORE

Annotation

Implementation Notes