162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Davicom device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig NET_VENDOR_DAVICOM
762306a36Sopenharmony_ci	bool "Davicom devices"
862306a36Sopenharmony_ci	default y
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
1362306a36Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
1462306a36Sopenharmony_ci	  the questions about Davicom devices. If you say Y, you will be asked
1562306a36Sopenharmony_ci	  for your specific card in the following selections.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciif NET_VENDOR_DAVICOM
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig DM9000
2062306a36Sopenharmony_ci	tristate "DM9000 support"
2162306a36Sopenharmony_ci	depends on ARM || MIPS || COLDFIRE || NIOS2 || COMPILE_TEST
2262306a36Sopenharmony_ci	select CRC32
2362306a36Sopenharmony_ci	select MII
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Support for DM9000 chipset.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.  The module
2862306a36Sopenharmony_ci	  will be called dm9000.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciconfig DM9000_FORCE_SIMPLE_PHY_POLL
3162306a36Sopenharmony_ci	bool "Force simple NSR based PHY polling"
3262306a36Sopenharmony_ci	depends on DM9000
3362306a36Sopenharmony_ci	help
3462306a36Sopenharmony_ci	  This configuration forces the DM9000 to use the NSR's LinkStatus
3562306a36Sopenharmony_ci	  bit to determine if the link is up or down instead of the more
3662306a36Sopenharmony_ci	  costly MII PHY reads. Note, this will not work if the chip is
3762306a36Sopenharmony_ci	  operating with an external PHY.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig DM9051
4062306a36Sopenharmony_ci	tristate "DM9051 SPI support"
4162306a36Sopenharmony_ci	depends on SPI
4262306a36Sopenharmony_ci	select CRC32
4362306a36Sopenharmony_ci	select MDIO
4462306a36Sopenharmony_ci	select PHYLIB
4562306a36Sopenharmony_ci	select REGMAP_SPI
4662306a36Sopenharmony_ci	help
4762306a36Sopenharmony_ci	  Support for DM9051 SPI chipset.
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.  The module
5062306a36Sopenharmony_ci	  will be called dm9051.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci	  The SPI mode for the host's SPI master to access DM9051 is mode
5362306a36Sopenharmony_ci	  0 on the SPI bus.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciendif # NET_VENDOR_DAVICOM
56