Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# VIA device configuration
#

config CONFIG_NET_VENDOR_VIA
	bool "VIA devices"
	default y
	---help---
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about VIA devices. If you say Y, you will be asked for
	  your specific card in the following questions.

if CONFIG_NET_VENDOR_VIA

config CONFIG_VIA_RHINE
	tristate "VIA Rhine support"
	depends on CONFIG_PCI || (CONFIG_OF_IRQ && CONFIG_GENERIC_PCI_IOMAP)
	depends on CONFIG_HAS_DMA
	select CONFIG_CRC32
	select CONFIG_MII
	---help---
	  If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
	  Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
	  Ethernet functions can also be found integrated on South Bridges
	  (e.g. VT8235).

	  To compile this driver as a module, choose CONFIG_M here. The module
	  will be called via-rhine.

config CONFIG_VIA_RHINE_MMIO
	bool "Use MMIO instead of PIO"
	depends on CONFIG_VIA_RHINE
	---help---
	  This instructs the driver to use CONFIG_PCI shared memory (MMIO) instead of
	  programmed I/O ports (PIO). Enabling this gives an improvement in
	  processing time in parts of the driver.

	  If unsure, say Y.

config CONFIG_VIA_VELOCITY
	tristate "VIA Velocity support"
	depends on (CONFIG_PCI || (CONFIG_OF_ADDRESS && CONFIG_OF_IRQ))
	depends on CONFIG_HAS_DMA
	select CONFIG_CRC32
	select CONFIG_CRC_CCITT
	select CONFIG_MII
	---help---
	  If you have a VIA "Velocity" based network card say Y here.

	  To compile this driver as a module, choose CONFIG_M here. The module
	  will be called via-velocity.

endif # CONFIG_NET_VENDOR_VIA