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