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