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