xref: /linux/drivers/net/ethernet/via/Kconfig (revision 55d0969c451159cff86949b38c39171cab962069)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# VIA device configuration
4#
5
6config 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
17if NET_VENDOR_VIA
18
19config VIA_RHINE
20	tristate "VIA Rhine support"
21	depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
22	depends on PCI || ARCH_VT8500 || COMPILE_TEST
23	depends on HAS_IOPORT
24	depends on HAS_DMA
25	select CRC32
26	select MII
27	help
28	  If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
29	  Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
30	  Ethernet functions can also be found integrated on South Bridges
31	  (e.g. VT8235).
32
33	  To compile this driver as a module, choose M here. The module
34	  will be called via-rhine.
35
36config VIA_RHINE_MMIO
37	bool "Use MMIO instead of PIO"
38	depends on VIA_RHINE
39	help
40	  This instructs the driver to use PCI shared memory (MMIO) instead of
41	  programmed I/O ports (PIO). Enabling this gives an improvement in
42	  processing time in parts of the driver.
43
44	  If unsure, say Y.
45
46config VIA_VELOCITY
47	tristate "VIA Velocity support"
48	depends on (PCI || (OF_ADDRESS && OF_IRQ))
49	depends on HAS_DMA
50	select CRC32
51	select CRC_CCITT
52	select MII
53	help
54	  If you have a VIA "Velocity" based network card say Y here.
55
56	  To compile this driver as a module, choose M here. The module
57	  will be called via-velocity.
58
59endif # NET_VENDOR_VIA
60