]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/net/ethernet/via/Kconfig
Merge branch 'for-5.3/uclogic' into for-linus
[mirror_ubuntu-jammy-kernel.git] / drivers / net / ethernet / via / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
f2148a47
JK
2#
3# VIA device configuration
4#
5
6config NET_VENDOR_VIA
7 bool "VIA devices"
88f07484 8 default y
f2148a47 9 ---help---
138b15ed 10 If you have a network (Ethernet) card belonging to this class, say Y.
f2148a47
JK
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
17if NET_VENDOR_VIA
18
19config VIA_RHINE
20 tristate "VIA Rhine support"
21343ac2 21 depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
0f8b6cea 22 depends on HAS_DMA
f2148a47
JK
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
34config 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
44config VIA_VELOCITY
45 tristate "VIA Velocity support"
b7d3282a 46 depends on (PCI || (OF_ADDRESS && OF_IRQ))
0f8b6cea 47 depends on HAS_DMA
f2148a47
JK
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
57endif # NET_VENDOR_VIA