1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Micrel device configuration
4#
5
6config NET_VENDOR_MICREL
7	bool "Micrel devices"
8	default y
9	depends on (HAS_IOMEM && DMA_ENGINE) || SPI || PCI || HAS_IOMEM || \
10		   (ARM && ARCH_KS8695)
11	---help---
12	  If you have a network (Ethernet) card belonging to this class, say Y.
13
14	  Note that the answer to this question doesn't directly affect the
15	  kernel: saying N will just cause the configurator to skip all
16	  the questions about Micrel devices. If you say Y, you will be asked
17	  for your specific card in the following questions.
18
19if NET_VENDOR_MICREL
20
21config ARM_KS8695_ETHER
22	tristate "KS8695 Ethernet support"
23	depends on ARM && ARCH_KS8695
24	select MII
25	---help---
26	  If you wish to compile a kernel for the KS8695 and want to
27	  use the internal ethernet then you should answer Y to this.
28
29config KS8842
30	tristate "Micrel KSZ8841/42 with generic bus interface"
31	depends on HAS_IOMEM && DMA_ENGINE
32	---help---
33	  This platform driver is for KSZ8841(1-port) / KS8842(2-port)
34	  ethernet switch chip (managed, VLAN, QoS) from Micrel or
35	  Timberdale(FPGA).
36
37config KS8851
38	tristate "Micrel KS8851 SPI"
39	depends on SPI
40	select MII
41	select CRC32
42	select EEPROM_93CX6
43	---help---
44	  SPI driver for Micrel KS8851 SPI attached network chip.
45
46config KS8851_MLL
47	tristate "Micrel KS8851 MLL"
48	depends on HAS_IOMEM
49	select MII
50	---help---
51	  This platform driver is for Micrel KS8851 Address/data bus
52	  multiplexed network chip.
53
54config KSZ884X_PCI
55	tristate "Micrel KSZ8841/2 PCI"
56	depends on PCI
57	select MII
58	select CRC32
59	---help---
60	  This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
61
62	  To compile this driver as a module, choose M here. The module
63	  will be called ksz884x.
64
65endif # NET_VENDOR_MICREL
66