xref: /linux/drivers/net/ethernet/via/Kconfig (revision a7f7f6248d9740d710fd6bd190293fe5e16410ac)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2f2148a47SJeff Kirsher#
3f2148a47SJeff Kirsher# VIA device configuration
4f2148a47SJeff Kirsher#
5f2148a47SJeff Kirsher
6f2148a47SJeff Kirsherconfig NET_VENDOR_VIA
7f2148a47SJeff Kirsher	bool "VIA devices"
888f07484SJeff Kirsher	default y
9*a7f7f624SMasahiro Yamada	help
10138b15edSPaul Gortmaker	  If you have a network (Ethernet) card belonging to this class, say Y.
11f2148a47SJeff Kirsher
12f2148a47SJeff Kirsher	  Note that the answer to this question doesn't directly affect the
13f2148a47SJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
14f2148a47SJeff Kirsher	  the questions about VIA devices. If you say Y, you will be asked for
15f2148a47SJeff Kirsher	  your specific card in the following questions.
16f2148a47SJeff Kirsher
17f2148a47SJeff Kirsherif NET_VENDOR_VIA
18f2148a47SJeff Kirsher
19f2148a47SJeff Kirsherconfig VIA_RHINE
20f2148a47SJeff Kirsher	tristate "VIA Rhine support"
2121343ac2SSudip Mukherjee	depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
220932969eSGeert Uytterhoeven	depends on PCI || ARCH_VT8500 || COMPILE_TEST
230f8b6ceaSGeert Uytterhoeven	depends on HAS_DMA
24f2148a47SJeff Kirsher	select CRC32
25f2148a47SJeff Kirsher	select MII
26*a7f7f624SMasahiro Yamada	help
27f2148a47SJeff Kirsher	  If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
28f2148a47SJeff Kirsher	  Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
29f2148a47SJeff Kirsher	  Ethernet functions can also be found integrated on South Bridges
30f2148a47SJeff Kirsher	  (e.g. VT8235).
31f2148a47SJeff Kirsher
32f2148a47SJeff Kirsher	  To compile this driver as a module, choose M here. The module
33f2148a47SJeff Kirsher	  will be called via-rhine.
34f2148a47SJeff Kirsher
35f2148a47SJeff Kirsherconfig VIA_RHINE_MMIO
36f2148a47SJeff Kirsher	bool "Use MMIO instead of PIO"
37f2148a47SJeff Kirsher	depends on VIA_RHINE
38*a7f7f624SMasahiro Yamada	help
39f2148a47SJeff Kirsher	  This instructs the driver to use PCI shared memory (MMIO) instead of
40f2148a47SJeff Kirsher	  programmed I/O ports (PIO). Enabling this gives an improvement in
41f2148a47SJeff Kirsher	  processing time in parts of the driver.
42f2148a47SJeff Kirsher
43f2148a47SJeff Kirsher	  If unsure, say Y.
44f2148a47SJeff Kirsher
45f2148a47SJeff Kirsherconfig VIA_VELOCITY
46f2148a47SJeff Kirsher	tristate "VIA Velocity support"
47b7d3282aSAntonio Borneo	depends on (PCI || (OF_ADDRESS && OF_IRQ))
480f8b6ceaSGeert Uytterhoeven	depends on HAS_DMA
49f2148a47SJeff Kirsher	select CRC32
50f2148a47SJeff Kirsher	select CRC_CCITT
51f2148a47SJeff Kirsher	select MII
52*a7f7f624SMasahiro Yamada	help
53f2148a47SJeff Kirsher	  If you have a VIA "Velocity" based network card say Y here.
54f2148a47SJeff Kirsher
55f2148a47SJeff Kirsher	  To compile this driver as a module, choose M here. The module
56f2148a47SJeff Kirsher	  will be called via-velocity.
57f2148a47SJeff Kirsher
58f2148a47SJeff Kirsherendif # NET_VENDOR_VIA
59