Directory Files
.. 2
File Size
Kconfig 6.2 kB
Makefile 1.5 kB
altr_tse_pcs.c 8.1 kB
altr_tse_pcs.h 599 B
chain_mode.c 4.9 kB
common.h 14 kB
descs.h 6.1 kB
descs_com.h 3.4 kB
dwmac-altr-socfpga.mod.c 0 B
dwmac-anarion.c 3.8 kB
dwmac-anarion.mod.c 0 B
dwmac-dwc-qos-eth.c 12 kB
dwmac-dwc-qos-eth.mod.c 0 B
dwmac-generic.c 2.6 kB
dwmac-generic.mod.c 0 B
dwmac-ipq806x.c 11 kB
dwmac-ipq806x.mod.c 0 B
dwmac-lpc18xx.c 2.6 kB
dwmac-lpc18xx.mod.c 0 B
dwmac-mediatek.c 11 kB
dwmac-mediatek.mod.c 0 B
dwmac-meson.c 2.3 kB
dwmac-meson.mod.c 0 B
dwmac-meson8b.c 11 kB
dwmac-meson8b.mod.c 0 B
dwmac-oxnas.c 5.0 kB
dwmac-oxnas.mod.c 0 B
dwmac-qcom-ethqos.c 17 kB
dwmac-qcom-ethqos.mod.c 0 B
dwmac-rk.c 44 kB
dwmac-rk.mod.c 0 B
dwmac-socfpga.c 15 kB
dwmac-sti.c 12 kB
dwmac-sti.mod.c 0 B
dwmac-stm32.c 15 kB
dwmac-stm32.mod.c 0 B
dwmac-sun8i.c 33 kB
dwmac-sun8i.mod.c 0 B
dwmac-sunxi.c 4.5 kB
dwmac-sunxi.mod.c 0 B
dwmac100.h 5.1 kB
dwmac1000.h 13 kB
dwmac1000_core.c 15 kB
dwmac1000_dma.c 8.4 kB
dwmac100_core.c 5.9 kB
dwmac100_dma.c 3.9 kB
dwmac4.h 14 kB
dwmac4_core.c 26 kB
dwmac4_descs.c 13 kB
dwmac4_descs.h 4.7 kB
dwmac4_dma.c 15 kB
dwmac4_dma.h 7.2 kB
dwmac4_lib.c 5.3 kB
dwmac5.c 16 kB
dwmac5.h 2.9 kB
dwmac_dma.h 6.1 kB
dwmac_lib.c 7.1 kB
dwxgmac2.h 16 kB
dwxgmac2_core.c 37 kB
dwxgmac2_descs.c 8.9 kB
dwxgmac2_dma.c 14 kB
enh_desc.c 13 kB
hwif.c 7.0 kB
hwif.h 27 kB
mmc.h 4.1 kB
mmc_core.c 18 kB
norm_desc.c 8.3 kB
ring_mode.c 4.2 kB
stmmac-pci.mod.c 0 B
stmmac-platform.mod.c 0 B
stmmac.h 6.5 kB
stmmac.mod.c 0 B
stmmac_ethtool.c 27 kB
stmmac_hwtstamp.c 3.9 kB
stmmac_main.c 136 kB
stmmac_mdio.c 12 kB
stmmac_pci.c 16 kB
stmmac_pcs.h 4.8 kB
stmmac_platform.c 23 kB
stmmac_platform.h 1.0 kB
stmmac_ptp.c 5.8 kB
stmmac_ptp.h 2.7 kB
stmmac_selftests.c 43 kB
stmmac_tc.c 14 kB

Linux v5.4.2 - stmmac

# SPDX-License-Identifier: GPL-2.0-only
config STMMAC_ETH
	tristate "STMicroelectronics Multi-Gigabit Ethernet driver"
	depends on HAS_IOMEM && HAS_DMA
	select MII
	select PAGE_POOL
	select PHYLINK
	select CRC32
	imply PTP_1588_CLOCK
	select RESET_CONTROLLER
	---help---
	  This is the driver for the Ethernet IPs built around a
	  Synopsys IP Core.

if STMMAC_ETH

config STMMAC_SELFTESTS
	bool "Support for STMMAC Selftests"
	depends on INET
	depends on STMMAC_ETH
	default n
	---help---
	  This adds support for STMMAC Selftests using ethtool. Enable this
	  feature if you are facing problems with your HW and submit the test
	  results to the netdev Mailing List.

config STMMAC_PLATFORM
	tristate "STMMAC Platform bus support"
	depends on STMMAC_ETH
	select MFD_SYSCON
	default y
	---help---
	  This selects the platform specific bus support for the stmmac driver.
	  This is the driver used on several SoCs:
	  STi, Allwinner, Amlogic Meson, Altera SOCFPGA.

	  If you have a controller with this interface, say Y or M here.

	  If unsure, say N.

if STMMAC_PLATFORM

config DWMAC_DWC_QOS_ETH
	tristate "Support for snps,dwc-qos-ethernet.txt DT binding."
	select CRC32
	select MII
	depends on OF && HAS_DMA
	help
	  Support for chips using the snps,dwc-qos-ethernet.txt DT binding.

config DWMAC_GENERIC
	tristate "Generic driver for DWMAC"
	default STMMAC_PLATFORM
	---help---
	  Generic DWMAC driver for platforms that don't require any
	  platform specific code to function or is using platform
	  data for setup.

config DWMAC_ANARION
	tristate "Adaptrum Anarion GMAC support"
	default ARC
	depends on OF && (ARC || COMPILE_TEST)
	help
	  Support for Adaptrum Anarion GMAC Ethernet controller.

	  This selects the Anarion SoC glue layer support for the stmmac driver.

config DWMAC_IPQ806X
	tristate "QCA IPQ806x DWMAC support"
	default ARCH_QCOM
	depends on OF && (ARCH_QCOM || COMPILE_TEST)
	select MFD_SYSCON
	help
	  Support for QCA IPQ806X DWMAC Ethernet.

	  This selects the IPQ806x SoC glue layer support for the stmmac
	  device driver. This driver does not use any of the hardware
	  acceleration features available on this SoC. Network devices
	  will behave like standard non-accelerated ethernet interfaces.

config DWMAC_LPC18XX
	tristate "NXP LPC18xx/43xx DWMAC support"
	default ARCH_LPC18XX
	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
	select MFD_SYSCON
	---help---
	  Support for NXP LPC18xx/43xx DWMAC Ethernet.

config DWMAC_MEDIATEK
	tristate "MediaTek MT27xx GMAC support"
	depends on OF && (ARCH_MEDIATEK || COMPILE_TEST)
	help
	  Support for MediaTek GMAC Ethernet controller.

	  This selects the MT2712 SoC support for the stmmac driver.

config DWMAC_MESON
	tristate "Amlogic Meson dwmac support"
	default ARCH_MESON
	depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST)
	help
	  Support for Ethernet controller on Amlogic Meson SoCs.

	  This selects the Amlogic Meson SoC glue layer support for
	  the stmmac device driver. This driver is used for Meson6,
	  Meson8, Meson8b and GXBB SoCs.

config DWMAC_OXNAS
	tristate "Oxford Semiconductor OXNAS dwmac support"
	default ARCH_OXNAS
	depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST)
	select MFD_SYSCON
	help
	  Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.

	  This selects the Oxford Semiconductor OXNASSoC glue layer support for
	  the stmmac device driver. This driver is used for OX820.

config DWMAC_QCOM_ETHQOS
	tristate "Qualcomm ETHQOS support"
	default ARCH_QCOM
	depends on OF && (ARCH_QCOM || COMPILE_TEST)
	help
	  Support for the Qualcomm ETHQOS core.

	  This selects the Qualcomm ETHQOS glue layer support for the
	  stmmac device driver.

config DWMAC_ROCKCHIP
	tristate "Rockchip dwmac support"
	default ARCH_ROCKCHIP
	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
	select MFD_SYSCON
	help
	  Support for Ethernet controller on Rockchip RK3288 SoC.

	  This selects the Rockchip RK3288 SoC glue layer support for
	  the stmmac device driver.

config DWMAC_SOCFPGA
	tristate "SOCFPGA dwmac support"
	default (ARCH_SOCFPGA || ARCH_STRATIX10)
	depends on OF && (ARCH_SOCFPGA || ARCH_STRATIX10 || COMPILE_TEST)
	select MFD_SYSCON
	help
	  Support for ethernet controller on Altera SOCFPGA

	  This selects the Altera SOCFPGA SoC glue layer support
	  for the stmmac device driver. This driver is used for
	  arria5 and cyclone5 FPGA SoCs.

config DWMAC_STI
	tristate "STi GMAC support"
	default ARCH_STI
	depends on OF && (ARCH_STI || COMPILE_TEST)
	select MFD_SYSCON
	---help---
	  Support for ethernet controller on STi SOCs.

	  This selects STi SoC glue layer support for the stmmac
	  device driver. This driver is used on for the STi series
	  SOCs GMAC ethernet controller.

config DWMAC_STM32
	tristate "STM32 DWMAC support"
	default ARCH_STM32
	depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
	select MFD_SYSCON
	---help---
	  Support for ethernet controller on STM32 SOCs.

	  This selects STM32 SoC glue layer support for the stmmac
	  device driver. This driver is used on for the STM32 series
	  SOCs GMAC ethernet controller.

config DWMAC_SUNXI
	tristate "Allwinner GMAC support"
	default ARCH_SUNXI
	depends on OF && (ARCH_SUNXI || COMPILE_TEST)
	---help---
	  Support for Allwinner A20/A31 GMAC ethernet controllers.

	  This selects Allwinner SoC glue layer support for the
	  stmmac device driver. This driver is used for A20/A31
	  GMAC ethernet controller.

config DWMAC_SUN8I
	tristate "Allwinner sun8i GMAC support"
	default ARCH_SUNXI
	depends on OF && (ARCH_SUNXI || COMPILE_TEST)
	select MDIO_BUS_MUX
	---help---
	  Support for Allwinner H3 A83T A64 EMAC ethernet controllers.

	  This selects Allwinner SoC glue layer support for the
	  stmmac device driver. This driver is used for H3/A83T/A64
	  EMAC ethernet controller.
endif

config STMMAC_PCI
	tristate "STMMAC PCI bus support"
	depends on STMMAC_ETH && PCI
	depends on COMMON_CLK
	---help---
	  This selects the platform specific bus support for the stmmac driver.
	  This driver was tested on XLINX XC2V3000 FF1152AMT0221
	  D1215994A VIRTEX FPGA board and SNPS QoS IPK Prototyping Kit.

	  If you have a controller with this interface, say Y or M here.

	  If unsure, say N.
endif