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