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