drivers/net/mdio/Kconfig

Source file repositories/reference/linux-study-clean/drivers/net/mdio/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/net/mdio/Kconfig
Extension
[no extension]
Size
9313 bytes
Lines
292
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-only
#
# MDIO Layer Configuration
#

if PHYLIB

config FWNODE_MDIO
	def_tristate (ACPI || OF) || COMPILE_TEST
	help
	  FWNODE MDIO bus (Ethernet PHY) accessors

config OF_MDIO
	def_tristate OF
	select FIXED_PHY
	help
	  OpenFirmware MDIO bus (Ethernet PHY) accessors

config ACPI_MDIO
	def_tristate ACPI
	help
	  ACPI MDIO bus (Ethernet PHY) accessors

config MDIO_AIROHA
	tristate "Airoha AN7583 MDIO bus controller"
	depends on ARCH_AIROHA || COMPILE_TEST
	help
	  This module provides a driver for the MDIO busses found in the
	  Airoha AN7583 SoC's.

config MDIO_SUN4I
	tristate "Allwinner sun4i MDIO interface support"
	depends on ARCH_SUNXI || COMPILE_TEST
	help
	  This driver supports the MDIO interface found in the network
	  interface units of the Allwinner SoC that have an EMAC (A10,
	  A12, A10s, etc.)

config MDIO_XGENE
	tristate "APM X-Gene SoC MDIO bus controller"
	depends on ARCH_XGENE || COMPILE_TEST
	help
	  This module provides a driver for the MDIO busses found in the
	  APM X-Gene SoC's.

config MDIO_ASPEED
	tristate "ASPEED MDIO bus controller"
	depends on ARCH_ASPEED || COMPILE_TEST
	depends on OF_MDIO && HAS_IOMEM
	help
	  This module provides a driver for the independent MDIO bus
	  controllers found in the ASPEED AST2600 SoC. This is a driver for the
	  third revision of the ASPEED MDIO register interface - the first two
	  revisions are the "old" and "new" interfaces found in the AST2400 and
	  AST2500, embedded in the MAC. For legacy reasons, FTGMAC100 driver
	  continues to drive the embedded MDIO controller for the AST2400 and
	  AST2500 SoCs, so say N if AST2600 support is not required.

config MDIO_BITBANG
	tristate "Bitbanged MDIO buses"
	help
	  This module implements the MDIO bus protocol in software,
	  for use by low level drivers that export the ability to
	  drive the relevant pins.

	  If in doubt, say N.

config MDIO_BCM_IPROC
	tristate "Broadcom iProc MDIO bus controller"
	depends on ARCH_BCM_IPROC || COMPILE_TEST

Annotation

Implementation Notes