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