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
10bcc9736cSJeff Kirsher	---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
23bcc9736cSJeff Kirsher	---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
31bcc9736cSJeff Kirsher	select MII
32bcc9736cSJeff Kirsher	select CRC32
3351b7b1c3SBen Dooks	select EEPROM_93CX6
34bcc9736cSJeff Kirsher	---help---
35bcc9736cSJeff Kirsher	  SPI driver for Micrel KS8851 SPI attached network chip.
36bcc9736cSJeff Kirsher
37bcc9736cSJeff Kirsherconfig KS8851_MLL
38bcc9736cSJeff Kirsher	tristate "Micrel KS8851 MLL"
39bcc9736cSJeff Kirsher	depends on HAS_IOMEM
40bcc9736cSJeff Kirsher	select MII
41797047f8SMarek Vasut	select CRC32
42797047f8SMarek Vasut	select EEPROM_93CX6
43bcc9736cSJeff Kirsher	---help---
44bcc9736cSJeff Kirsher	  This platform driver is for Micrel KS8851 Address/data bus
45bcc9736cSJeff Kirsher	  multiplexed network chip.
46bcc9736cSJeff Kirsher
47bcc9736cSJeff Kirsherconfig KSZ884X_PCI
48bcc9736cSJeff Kirsher	tristate "Micrel KSZ8841/2 PCI"
49bcc9736cSJeff Kirsher	depends on PCI
50bcc9736cSJeff Kirsher	select MII
51bcc9736cSJeff Kirsher	select CRC32
52bcc9736cSJeff Kirsher	---help---
53bcc9736cSJeff Kirsher	  This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
54bcc9736cSJeff Kirsher
55bcc9736cSJeff Kirsher	  To compile this driver as a module, choose M here. The module
56bcc9736cSJeff Kirsher	  will be called ksz884x.
57bcc9736cSJeff Kirsher
58bcc9736cSJeff Kirsherendif # NET_VENDOR_MICREL
59