Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

config CONFIG_STMMAC_ETH
	tristate "STMicroelectronics 10/100/1000 Ethernet driver"
	depends on CONFIG_HAS_IOMEM && CONFIG_HAS_DMA
	select CONFIG_MII
	select CONFIG_PHYLIB
	select CONFIG_CRC32
	imply CONFIG_PTP_1588_CLOCK
	select CONFIG_RESET_CONTROLLER
	---help---
	  This is the driver for the Ethernet IPs are built around a
	  Synopsys IP Core and only tested on the STMicroelectronics
	  platforms.

if CONFIG_STMMAC_ETH

config CONFIG_STMMAC_PLATFORM
	tristate "STMMAC Platform bus support"
	depends on CONFIG_STMMAC_ETH
	select CONFIG_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 CONFIG_M here.

	  If unsure, say N.

if CONFIG_STMMAC_PLATFORM

config CONFIG_DWMAC_GENERIC
	tristate "Generic driver for DWMAC"
	default CONFIG_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 CONFIG_DWMAC_IPQ806X
	tristate "QCA IPQ806x DWMAC support"
	default CONFIG_ARCH_QCOM
	depends on CONFIG_OF && (CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST)
	select CONFIG_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 CONFIG_DWMAC_LPC18XX
	tristate "NXP LPC18xx/43xx DWMAC support"
	default CONFIG_ARCH_LPC18XX
	depends on CONFIG_OF && (CONFIG_ARCH_LPC18XX || CONFIG_COMPILE_TEST)
	select CONFIG_MFD_SYSCON
	---help---
	  Support for NXP LPC18xx/43xx DWMAC Ethernet.

config CONFIG_DWMAC_MESON
	tristate "Amlogic Meson dwmac support"
	default CONFIG_ARCH_MESON
	depends on CONFIG_OF && CONFIG_COMMON_CLK && (CONFIG_ARCH_MESON || CONFIG_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 CONFIG_DWMAC_OXNAS
	tristate "Oxford Semiconductor OXNAS dwmac support"
	default CONFIG_ARCH_OXNAS
	depends on CONFIG_OF && CONFIG_COMMON_CLK && (CONFIG_ARCH_OXNAS || CONFIG_COMPILE_TEST)
	select CONFIG_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 CONFIG_DWMAC_ROCKCHIP
	tristate "Rockchip dwmac support"
	default CONFIG_ARCH_ROCKCHIP
	depends on CONFIG_OF && (CONFIG_ARCH_ROCKCHIP || CONFIG_COMPILE_TEST)
	select CONFIG_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 CONFIG_DWMAC_SOCFPGA
	tristate "SOCFPGA dwmac support"
	default CONFIG_ARCH_SOCFPGA
	depends on CONFIG_OF && (CONFIG_ARCH_SOCFPGA || CONFIG_COMPILE_TEST)
	select CONFIG_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 CONFIG_FPGA SoCs.

config CONFIG_DWMAC_STI
	tristate "STi GMAC support"
	default CONFIG_ARCH_STI
	depends on CONFIG_OF && (CONFIG_ARCH_STI || CONFIG_COMPILE_TEST)
	select CONFIG_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 CONFIG_DWMAC_STM32
	tristate "STM32 DWMAC support"
	default CONFIG_ARCH_STM32
	depends on CONFIG_OF && CONFIG_HAS_IOMEM && (CONFIG_ARCH_STM32 || CONFIG_COMPILE_TEST)
	select CONFIG_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 CONFIG_DWMAC_SUNXI
	tristate "Allwinner GMAC support"
	default CONFIG_ARCH_SUNXI
	depends on CONFIG_OF && (CONFIG_ARCH_SUNXI || CONFIG_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.
endif

config CONFIG_STMMAC_PCI
	tristate "STMMAC PCI bus support"
	depends on CONFIG_STMMAC_ETH && CONFIG_PCI
	---help---
	  This is to select the Synopsys DWMAC available on CONFIG_PCI devices,
	  if you have a controller with this interface, say Y or CONFIG_M here.

	  This CONFIG_PCI support is tested on XLINX XC2V3000 FF1152AMT0221
	  D1215994A VIRTEX CONFIG_FPGA board.

	  If unsure, say N.
endif