xref: /linux/drivers/net/ethernet/micrel/Kconfig (revision c3efcedd272aa6dd5929e20cf902a52ddaa1197a)
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
31bcc9736cSJeff Kirsher	select MII
32bcc9736cSJeff Kirsher	select CRC32
3351b7b1c3SBen Dooks	select EEPROM_93CX6
34f0791b92SMarek Vasut	select PHYLIB
35f0791b92SMarek Vasut	select MICREL_PHY
36a7f7f624SMasahiro Yamada	help
37bcc9736cSJeff Kirsher	  SPI driver for Micrel KS8851 SPI attached network chip.
38bcc9736cSJeff Kirsher
39bcc9736cSJeff Kirsherconfig KS8851_MLL
40bcc9736cSJeff Kirsher	tristate "Micrel KS8851 MLL"
41bcc9736cSJeff Kirsher	depends on HAS_IOMEM
42*c3efceddSRandy Dunlap	depends on PTP_1588_CLOCK_OPTIONAL
43bcc9736cSJeff Kirsher	select MII
44797047f8SMarek Vasut	select CRC32
45797047f8SMarek Vasut	select EEPROM_93CX6
46f0791b92SMarek Vasut	select PHYLIB
47f0791b92SMarek Vasut	select MICREL_PHY
48a7f7f624SMasahiro Yamada	help
49bcc9736cSJeff Kirsher	  This platform driver is for Micrel KS8851 Address/data bus
50bcc9736cSJeff Kirsher	  multiplexed network chip.
51bcc9736cSJeff Kirsher
52bcc9736cSJeff Kirsherconfig KSZ884X_PCI
53bcc9736cSJeff Kirsher	tristate "Micrel KSZ8841/2 PCI"
54bcc9736cSJeff Kirsher	depends on PCI
55bcc9736cSJeff Kirsher	select MII
56bcc9736cSJeff Kirsher	select CRC32
57a7f7f624SMasahiro Yamada	help
58bcc9736cSJeff Kirsher	  This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
59bcc9736cSJeff Kirsher
60bcc9736cSJeff Kirsher	  To compile this driver as a module, choose M here. The module
61bcc9736cSJeff Kirsher	  will be called ksz884x.
62bcc9736cSJeff Kirsher
63bcc9736cSJeff Kirsherendif # NET_VENDOR_MICREL
64