^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # VIA device configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config NET_VENDOR_VIA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) bool "VIA devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) If you have a network (Ethernet) card belonging to this class, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Note that the answer to this question doesn't directly affect the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) kernel: saying N will just cause the configurator to skip all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) the questions about VIA devices. If you say Y, you will be asked for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) your specific card in the following questions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) if NET_VENDOR_VIA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config VIA_RHINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) tristate "VIA Rhine support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on PCI || ARCH_VT8500 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) depends on HAS_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select CRC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select MII
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Ethernet functions can also be found integrated on South Bridges
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) (e.g. VT8235).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) To compile this driver as a module, choose M here. The module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) will be called via-rhine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) config VIA_RHINE_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) bool "Use MMIO instead of PIO"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) depends on VIA_RHINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) This instructs the driver to use PCI shared memory (MMIO) instead of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) programmed I/O ports (PIO). Enabling this gives an improvement in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) processing time in parts of the driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) config VIA_VELOCITY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) tristate "VIA Velocity support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) depends on (PCI || (OF_ADDRESS && OF_IRQ))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) depends on HAS_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) select CRC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) select CRC_CCITT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) select MII
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) If you have a VIA "Velocity" based network card say Y here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) To compile this driver as a module, choose M here. The module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) will be called via-velocity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) endif # NET_VENDOR_VIA