162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# VIA device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig NET_VENDOR_VIA
762306a36Sopenharmony_ci	bool "VIA 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 VIA devices. If you say Y, you will be asked for
1562306a36Sopenharmony_ci	  your specific card in the following questions.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciif NET_VENDOR_VIA
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig VIA_RHINE
2062306a36Sopenharmony_ci	tristate "VIA Rhine support"
2162306a36Sopenharmony_ci	depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
2262306a36Sopenharmony_ci	depends on PCI || ARCH_VT8500 || COMPILE_TEST
2362306a36Sopenharmony_ci	depends on HAS_DMA
2462306a36Sopenharmony_ci	select CRC32
2562306a36Sopenharmony_ci	select MII
2662306a36Sopenharmony_ci	help
2762306a36Sopenharmony_ci	  If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
2862306a36Sopenharmony_ci	  Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
2962306a36Sopenharmony_ci	  Ethernet functions can also be found integrated on South Bridges
3062306a36Sopenharmony_ci	  (e.g. VT8235).
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
3362306a36Sopenharmony_ci	  will be called via-rhine.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciconfig VIA_RHINE_MMIO
3662306a36Sopenharmony_ci	bool "Use MMIO instead of PIO"
3762306a36Sopenharmony_ci	depends on VIA_RHINE
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  This instructs the driver to use PCI shared memory (MMIO) instead of
4062306a36Sopenharmony_ci	  programmed I/O ports (PIO). Enabling this gives an improvement in
4162306a36Sopenharmony_ci	  processing time in parts of the driver.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci	  If unsure, say Y.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig VIA_VELOCITY
4662306a36Sopenharmony_ci	tristate "VIA Velocity support"
4762306a36Sopenharmony_ci	depends on (PCI || (OF_ADDRESS && OF_IRQ))
4862306a36Sopenharmony_ci	depends on HAS_DMA
4962306a36Sopenharmony_ci	select CRC32
5062306a36Sopenharmony_ci	select CRC_CCITT
5162306a36Sopenharmony_ci	select MII
5262306a36Sopenharmony_ci	help
5362306a36Sopenharmony_ci	  If you have a VIA "Velocity" based network card say Y here.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
5662306a36Sopenharmony_ci	  will be called via-velocity.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciendif # NET_VENDOR_VIA
59