162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Micrel device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig NET_VENDOR_MICREL
762306a36Sopenharmony_ci	bool "Micrel devices"
862306a36Sopenharmony_ci	default y
962306a36Sopenharmony_ci	depends on (HAS_IOMEM && DMA_ENGINE) || SPI || PCI || HAS_IOMEM
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
1462306a36Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
1562306a36Sopenharmony_ci	  the questions about Micrel devices. If you say Y, you will be asked
1662306a36Sopenharmony_ci	  for your specific card in the following questions.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciif NET_VENDOR_MICREL
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig KS8842
2162306a36Sopenharmony_ci	tristate "Micrel KSZ8841/42 with generic bus interface"
2262306a36Sopenharmony_ci	depends on HAS_IOMEM && DMA_ENGINE
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  This platform driver is for KSZ8841(1-port) / KS8842(2-port)
2562306a36Sopenharmony_ci	  ethernet switch chip (managed, VLAN, QoS) from Micrel or
2662306a36Sopenharmony_ci	  Timberdale(FPGA).
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig KS8851
2962306a36Sopenharmony_ci	tristate "Micrel KS8851 SPI"
3062306a36Sopenharmony_ci	depends on SPI
3162306a36Sopenharmony_ci	depends on PTP_1588_CLOCK_OPTIONAL
3262306a36Sopenharmony_ci	select MII
3362306a36Sopenharmony_ci	select CRC32
3462306a36Sopenharmony_ci	select EEPROM_93CX6
3562306a36Sopenharmony_ci	select PHYLIB
3662306a36Sopenharmony_ci	select MICREL_PHY
3762306a36Sopenharmony_ci	help
3862306a36Sopenharmony_ci	  SPI driver for Micrel KS8851 SPI attached network chip.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig KS8851_MLL
4162306a36Sopenharmony_ci	tristate "Micrel KS8851 MLL"
4262306a36Sopenharmony_ci	depends on HAS_IOMEM
4362306a36Sopenharmony_ci	depends on PTP_1588_CLOCK_OPTIONAL
4462306a36Sopenharmony_ci	select MII
4562306a36Sopenharmony_ci	select CRC32
4662306a36Sopenharmony_ci	select EEPROM_93CX6
4762306a36Sopenharmony_ci	select PHYLIB
4862306a36Sopenharmony_ci	select MICREL_PHY
4962306a36Sopenharmony_ci	help
5062306a36Sopenharmony_ci	  This platform driver is for Micrel KS8851 Address/data bus
5162306a36Sopenharmony_ci	  multiplexed network chip.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciconfig KSZ884X_PCI
5462306a36Sopenharmony_ci	tristate "Micrel KSZ8841/2 PCI"
5562306a36Sopenharmony_ci	depends on PCI
5662306a36Sopenharmony_ci	select MII
5762306a36Sopenharmony_ci	select CRC32
5862306a36Sopenharmony_ci	help
5962306a36Sopenharmony_ci	  This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
6262306a36Sopenharmony_ci	  will be called ksz884x.
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciendif # NET_VENDOR_MICREL
65