0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # VIA device configuration
0004 #
0005
0006 config NET_VENDOR_VIA
0007 bool "VIA devices"
0008 default y
0009 help
0010 If you have a network (Ethernet) card belonging to this class, say Y.
0011
0012 Note that the answer to this question doesn't directly affect the
0013 kernel: saying N will just cause the configurator to skip all
0014 the questions about VIA devices. If you say Y, you will be asked for
0015 your specific card in the following questions.
0016
0017 if NET_VENDOR_VIA
0018
0019 config VIA_RHINE
0020 tristate "VIA Rhine support"
0021 depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
0022 depends on PCI || ARCH_VT8500 || COMPILE_TEST
0023 depends on HAS_DMA
0024 select CRC32
0025 select MII
0026 help
0027 If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
0028 Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
0029 Ethernet functions can also be found integrated on South Bridges
0030 (e.g. VT8235).
0031
0032 To compile this driver as a module, choose M here. The module
0033 will be called via-rhine.
0034
0035 config VIA_RHINE_MMIO
0036 bool "Use MMIO instead of PIO"
0037 depends on VIA_RHINE
0038 help
0039 This instructs the driver to use PCI shared memory (MMIO) instead of
0040 programmed I/O ports (PIO). Enabling this gives an improvement in
0041 processing time in parts of the driver.
0042
0043 If unsure, say Y.
0044
0045 config VIA_VELOCITY
0046 tristate "VIA Velocity support"
0047 depends on (PCI || (OF_ADDRESS && OF_IRQ))
0048 depends on HAS_DMA
0049 select CRC32
0050 select CRC_CCITT
0051 select MII
0052 help
0053 If you have a VIA "Velocity" based network card say Y here.
0054
0055 To compile this driver as a module, choose M here. The module
0056 will be called via-velocity.
0057
0058 endif # NET_VENDOR_VIA