treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / net / ethernet / realtek / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
a8fe65b8
JK
2#
3# Realtek device configuration
4#
5
6config NET_VENDOR_REALTEK
7 bool "Realtek devices"
88f07484 8 default y
a8fe65b8
JK
9 depends on PCI || (PARPORT && X86)
10 ---help---
138b15ed 11 If you have a network (Ethernet) card belonging to this class, say Y.
a8fe65b8
JK
12
13 Note that the answer to this question doesn't directly affect the
14 kernel: saying N will just cause the configurator to skip all
15 the questions about Realtek devices. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_REALTEK
19
20config ATP
21 tristate "AT-LAN-TEC/RealTek pocket adapter support"
22 depends on PARPORT && X86
23 select CRC32
24 ---help---
25 This is a network (Ethernet) device which attaches to your parallel
138b15ed 26 port. Read the file <file:drivers/net/ethernet/realtek/atp.c>
3396c782
PG
27 if you want to use this. If you intend to use this driver, you
28 should have said N to the "Parallel printer support", because the two
29 drivers don't like each other.
a8fe65b8
JK
30
31 To compile this driver as a module, choose M here: the module
32 will be called atp.
33
34config 8139CP
5af9857d
KC
35 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support"
36 depends on PCI
a8fe65b8
JK
37 select CRC32
38 select MII
39 ---help---
40 This is a driver for the Fast Ethernet PCI network cards based on
138b15ed 41 the RTL8139C+ chips. If you have one of those, say Y here.
a8fe65b8
JK
42
43 To compile this driver as a module, choose M here: the module
44 will be called 8139cp. This is recommended.
45
46config 8139TOO
47 tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
48 depends on PCI
49 select CRC32
50 select MII
51 ---help---
52 This is a driver for the Fast Ethernet PCI network cards based on
138b15ed 53 the RTL 8129/8130/8139 chips. If you have one of those, say Y here.
a8fe65b8
JK
54
55 To compile this driver as a module, choose M here: the module
56 will be called 8139too. This is recommended.
57
58config 8139TOO_PIO
59 bool "Use PIO instead of MMIO"
60 default y
61 depends on 8139TOO
62 ---help---
63 This instructs the driver to use programmed I/O ports (PIO) instead
64 of PCI shared memory (MMIO). This can possibly solve some problems
65 in case your mainboard has memory consistency issues. If unsure,
66 say N.
67
68config 8139TOO_TUNE_TWISTER
69 bool "Support for uncommon RTL-8139 rev. K (automatic channel equalization)"
70 depends on 8139TOO
71 ---help---
72 This implements a function which might come in handy in case you
73 are using low quality on long cabling. It is required for RealTek
74 RTL-8139 revision K boards, and totally unused otherwise. It tries
75 to match the transceiver to the cable characteristics. This is
76 experimental since hardly documented by the manufacturer.
77 If unsure, say Y.
78
79config 8139TOO_8129
80 bool "Support for older RTL-8129/8130 boards"
81 depends on 8139TOO
82 ---help---
83 This enables support for the older and uncommon RTL-8129 and
84 RTL-8130 chips, which support MII via an external transceiver,
85 instead of an internal one. Disabling this option will save some
86 memory by making the code size smaller. If unsure, say Y.
87
88config 8139_OLD_RX_RESET
89 bool "Use older RX-reset method"
90 depends on 8139TOO
91 ---help---
92 The 8139too driver was recently updated to contain a more rapid
93 reset sequence, in the face of severe receive errors. This "new"
94 RX-reset method should be adequate for all boards. But if you
95 experience problems, you can enable this option to restore the
96 old RX-reset behavior. If unsure, say N.
97
98config R8169
99 tristate "Realtek 8169 gigabit ethernet support"
100 depends on PCI
101 select FW_LOADER
102 select CRC32
f1e911d5 103 select PHYLIB
bfdd19ad 104 select REALTEK_PHY
a8fe65b8
JK
105 ---help---
106 Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.
107
108 To compile this driver as a module, choose M here: the module
109 will be called r8169. This is recommended.
110
a8fe65b8 111endif # NET_VENDOR_REALTEK