18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# VIA device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_VIA
78c2ecf20Sopenharmony_ci	bool "VIA devices"
88c2ecf20Sopenharmony_ci	default y
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
138c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
148c2ecf20Sopenharmony_ci	  the questions about VIA devices. If you say Y, you will be asked for
158c2ecf20Sopenharmony_ci	  your specific card in the following questions.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciif NET_VENDOR_VIA
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig VIA_RHINE
208c2ecf20Sopenharmony_ci	tristate "VIA Rhine support"
218c2ecf20Sopenharmony_ci	depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
228c2ecf20Sopenharmony_ci	depends on PCI || ARCH_VT8500 || COMPILE_TEST
238c2ecf20Sopenharmony_ci	depends on HAS_DMA
248c2ecf20Sopenharmony_ci	select CRC32
258c2ecf20Sopenharmony_ci	select MII
268c2ecf20Sopenharmony_ci	help
278c2ecf20Sopenharmony_ci	  If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
288c2ecf20Sopenharmony_ci	  Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
298c2ecf20Sopenharmony_ci	  Ethernet functions can also be found integrated on South Bridges
308c2ecf20Sopenharmony_ci	  (e.g. VT8235).
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
338c2ecf20Sopenharmony_ci	  will be called via-rhine.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig VIA_RHINE_MMIO
368c2ecf20Sopenharmony_ci	bool "Use MMIO instead of PIO"
378c2ecf20Sopenharmony_ci	depends on VIA_RHINE
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  This instructs the driver to use PCI shared memory (MMIO) instead of
408c2ecf20Sopenharmony_ci	  programmed I/O ports (PIO). Enabling this gives an improvement in
418c2ecf20Sopenharmony_ci	  processing time in parts of the driver.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci	  If unsure, say Y.
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig VIA_VELOCITY
468c2ecf20Sopenharmony_ci	tristate "VIA Velocity support"
478c2ecf20Sopenharmony_ci	depends on (PCI || (OF_ADDRESS && OF_IRQ))
488c2ecf20Sopenharmony_ci	depends on HAS_DMA
498c2ecf20Sopenharmony_ci	select CRC32
508c2ecf20Sopenharmony_ci	select CRC_CCITT
518c2ecf20Sopenharmony_ci	select MII
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  If you have a VIA "Velocity" based network card say Y here.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here. The module
568c2ecf20Sopenharmony_ci	  will be called via-velocity.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciendif # NET_VENDOR_VIA
59