1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2bcc9736cSJeff Kirsher#
3bcc9736cSJeff Kirsher# Micrel device configuration
4bcc9736cSJeff Kirsher#
5bcc9736cSJeff Kirsher
6bcc9736cSJeff Kirsherconfig NET_VENDOR_MICREL
7bcc9736cSJeff Kirsher	bool "Micrel devices"
888f07484SJeff Kirsher	default y
913b0aefeSArnd Bergmann	depends on (HAS_IOMEM && DMA_ENGINE) || SPI || PCI || HAS_IOMEM
10a7f7f624SMasahiro Yamada	help
11138b15edSPaul Gortmaker	  If you have a network (Ethernet) card belonging to this class, say Y.
12bcc9736cSJeff Kirsher
13bcc9736cSJeff Kirsher	  Note that the answer to this question doesn't directly affect the
14bcc9736cSJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
15bcc9736cSJeff Kirsher	  the questions about Micrel devices. If you say Y, you will be asked
16bcc9736cSJeff Kirsher	  for your specific card in the following questions.
17bcc9736cSJeff Kirsher
18bcc9736cSJeff Kirsherif NET_VENDOR_MICREL
19bcc9736cSJeff Kirsher
20bcc9736cSJeff Kirsherconfig KS8842
21bcc9736cSJeff Kirsher	tristate "Micrel KSZ8841/42 with generic bus interface"
22bcc9736cSJeff Kirsher	depends on HAS_IOMEM && DMA_ENGINE
23a7f7f624SMasahiro Yamada	help
24bcc9736cSJeff Kirsher	  This platform driver is for KSZ8841(1-port) / KS8842(2-port)
25bcc9736cSJeff Kirsher	  ethernet switch chip (managed, VLAN, QoS) from Micrel or
26bcc9736cSJeff Kirsher	  Timberdale(FPGA).
27bcc9736cSJeff Kirsher
28bcc9736cSJeff Kirsherconfig KS8851
29bcc9736cSJeff Kirsher	tristate "Micrel KS8851 SPI"
30bcc9736cSJeff Kirsher	depends on SPI
31*1d7e4fd7SHoratiu Vultur	depends on PTP_1588_CLOCK_OPTIONAL
32bcc9736cSJeff Kirsher	select MII
33bcc9736cSJeff Kirsher	select CRC32
3451b7b1c3SBen Dooks	select EEPROM_93CX6
35f0791b92SMarek Vasut	select PHYLIB
36f0791b92SMarek Vasut	select MICREL_PHY
37a7f7f624SMasahiro Yamada	help
38bcc9736cSJeff Kirsher	  SPI driver for Micrel KS8851 SPI attached network chip.
39bcc9736cSJeff Kirsher
40bcc9736cSJeff Kirsherconfig KS8851_MLL
41bcc9736cSJeff Kirsher	tristate "Micrel KS8851 MLL"
42bcc9736cSJeff Kirsher	depends on HAS_IOMEM
43c3efceddSRandy Dunlap	depends on PTP_1588_CLOCK_OPTIONAL
44bcc9736cSJeff Kirsher	select MII
45797047f8SMarek Vasut	select CRC32
46797047f8SMarek Vasut	select EEPROM_93CX6
47f0791b92SMarek Vasut	select PHYLIB
48f0791b92SMarek Vasut	select MICREL_PHY
49a7f7f624SMasahiro Yamada	help
50bcc9736cSJeff Kirsher	  This platform driver is for Micrel KS8851 Address/data bus
51bcc9736cSJeff Kirsher	  multiplexed network chip.
52bcc9736cSJeff Kirsher
53bcc9736cSJeff Kirsherconfig KSZ884X_PCI
54bcc9736cSJeff Kirsher	tristate "Micrel KSZ8841/2 PCI"
55bcc9736cSJeff Kirsher	depends on PCI
56bcc9736cSJeff Kirsher	select MII
57bcc9736cSJeff Kirsher	select CRC32
58a7f7f624SMasahiro Yamada	help
59bcc9736cSJeff Kirsher	  This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
60bcc9736cSJeff Kirsher
61bcc9736cSJeff Kirsher	  To compile this driver as a module, choose M here. The module
62bcc9736cSJeff Kirsher	  will be called ksz884x.
63bcc9736cSJeff Kirsher
64bcc9736cSJeff Kirsherendif # NET_VENDOR_MICREL
65