18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Micrel device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_MICREL
78c2ecf20Sopenharmony_ci	bool "Micrel devices"
88c2ecf20Sopenharmony_ci	default y
98c2ecf20Sopenharmony_ci	depends on (HAS_IOMEM && DMA_ENGINE) || SPI || PCI || HAS_IOMEM
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
148c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
158c2ecf20Sopenharmony_ci	  the questions about Micrel devices. If you say Y, you will be asked
168c2ecf20Sopenharmony_ci	  for your specific card in the following questions.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciif NET_VENDOR_MICREL
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig KS8842
218c2ecf20Sopenharmony_ci	tristate "Micrel KSZ8841/42 with generic bus interface"
228c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && DMA_ENGINE
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  This platform driver is for KSZ8841(1-port) / KS8842(2-port)
258c2ecf20Sopenharmony_ci	  ethernet switch chip (managed, VLAN, QoS) from Micrel or
268c2ecf20Sopenharmony_ci	  Timberdale(FPGA).
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig KS8851
298c2ecf20Sopenharmony_ci	tristate "Micrel KS8851 SPI"
308c2ecf20Sopenharmony_ci	depends on SPI
318c2ecf20Sopenharmony_ci	select MII
328c2ecf20Sopenharmony_ci	select CRC32
338c2ecf20Sopenharmony_ci	select EEPROM_93CX6
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  SPI driver for Micrel KS8851 SPI attached network chip.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig KS8851_MLL
388c2ecf20Sopenharmony_ci	tristate "Micrel KS8851 MLL"
398c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
408c2ecf20Sopenharmony_ci	select MII
418c2ecf20Sopenharmony_ci	select CRC32
428c2ecf20Sopenharmony_ci	select EEPROM_93CX6
438c2ecf20Sopenharmony_ci	help
448c2ecf20Sopenharmony_ci	  This platform driver is for Micrel KS8851 Address/data bus
458c2ecf20Sopenharmony_ci	  multiplexed network chip.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig KSZ884X_PCI
488c2ecf20Sopenharmony_ci	tristate "Micrel KSZ8841/2 PCI"
498c2ecf20Sopenharmony_ci	depends on PCI
508c2ecf20Sopenharmony_ci	select MII
518c2ecf20Sopenharmony_ci	select CRC32
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
568c2ecf20Sopenharmony_ci	  will be called ksz884x.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciendif # NET_VENDOR_MICREL
59