forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/via/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # VIA device configuration
34 #
....@@ -5,7 +6,7 @@
56 config NET_VENDOR_VIA
67 bool "VIA devices"
78 default y
8
- ---help---
9
+ help
910 If you have a network (Ethernet) card belonging to this class, say Y.
1011
1112 Note that the answer to this question doesn't directly affect the
....@@ -18,10 +19,11 @@
1819 config VIA_RHINE
1920 tristate "VIA Rhine support"
2021 depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
22
+ depends on PCI || ARCH_VT8500 || COMPILE_TEST
2123 depends on HAS_DMA
2224 select CRC32
2325 select MII
24
- ---help---
26
+ help
2527 If you have a VIA "Rhine" based network card (Rhine-I (VT86C100A),
2628 Rhine-II (VT6102), or Rhine-III (VT6105)), say Y here. Rhine-type
2729 Ethernet functions can also be found integrated on South Bridges
....@@ -33,7 +35,7 @@
3335 config VIA_RHINE_MMIO
3436 bool "Use MMIO instead of PIO"
3537 depends on VIA_RHINE
36
- ---help---
38
+ help
3739 This instructs the driver to use PCI shared memory (MMIO) instead of
3840 programmed I/O ports (PIO). Enabling this gives an improvement in
3941 processing time in parts of the driver.
....@@ -47,7 +49,7 @@
4749 select CRC32
4850 select CRC_CCITT
4951 select MII
50
- ---help---
52
+ help
5153 If you have a VIA "Velocity" based network card say Y here.
5254
5355 To compile this driver as a module, choose M here. The module