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