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