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