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