Debian Codegraph @

drivers/net/ethernet/realtek/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Realtek device configuration
4 #
5
6 config NET_VENDOR_REALTEK
7 bool "Realtek devices"
8 default y
9 depends on PCI
10 help
11 If you have a network (Ethernet) card belonging to this class, say Y.
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
18 if NET_VENDOR_REALTEK
19
20 config 8139CP
21 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support"
22 depends on PCI
23 select CRC32
24 select MII
25 help
26 This is a driver for the Fast Ethernet PCI network cards based on
27 the RTL8139C+ chips. If you have one of those, say Y here.
28
29 To compile this driver as a module, choose M here: the module
30 will be called 8139cp. This is recommended.
31
32 config 8139TOO
33 tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
34 depends on PCI
35 select CRC32
36 select MII
37 help
38 This is a driver for the Fast Ethernet PCI network cards based on
39 the RTL 8129/8130/8139 chips. If you have one of those, say Y here.
40
41 To compile this driver as a module, choose M here: the module
42 will be called 8139too. This is recommended.
43
44 config 8139TOO_PIO
45 bool "Use PIO instead of MMIO"
46 default y
47 depends on 8139TOO && !NO_IOPORT_MAP
48 help
49 This instructs the driver to use programmed I/O ports (PIO) instead
50 of PCI shared memory (MMIO). This can possibly solve some problems
51 in case your mainboard has memory consistency issues. If unsure,
52 say N.
53
54 config 8139TOO_TUNE_TWISTER
55 bool "Support for uncommon RTL-8139 rev. K (automatic channel equalization)"
56 depends on 8139TOO
57 help
58 This implements a function which might come in handy in case you
59 are using low quality on long cabling. It is required for RealTek
60 RTL-8139 revision K boards, and totally unused otherwise. It tries
61 to match the transceiver to the cable characteristics. This is
62 experimental since hardly documented by the manufacturer.
63 If unsure, say Y.
64
65 config 8139TOO_8129
66 bool "Support for older RTL-8129/8130 boards"
67 depends on 8139TOO
68 help
69 This enables support for the older and uncommon RTL-8129 and
70 RTL-8130 chips, which support MII via an external transceiver,
71 instead of an internal one. Disabling this option will save some
72 memory by making the code size smaller. If unsure, say Y.
73
74 config 8139_OLD_RX_RESET
75 bool "Use older RX-reset method"
76 depends on 8139TOO
77 help
78 The 8139too driver was recently updated to contain a more rapid
79 reset sequence, in the face of severe receive errors. This "new"
80 RX-reset method should be adequate for all boards. But if you
81 experience problems, you can enable this option to restore the
82 old RX-reset behavior. If unsure, say N.
83
84 config R8169
85 tristate "Realtek 8169/8168/8101/8125 ethernet support"
86 depends on PCI
87 select FW_LOADER
88 select CRC32
89 select PHYLIB
90 select REALTEK_PHY
91 help
92 Say Y here if you have a Realtek Ethernet adapter belonging to
93 the following families:
94 RTL8169 Gigabit Ethernet
95 RTL8168 Gigabit Ethernet
96 RTL8101 Fast Ethernet
97 RTL8125 2.5GBit Ethernet
98
99 To compile this driver as a module, choose M here: the module
100 will be called r8169. This is recommended.
101
102 config R8169_LEDS
103 bool "Support for controlling the NIC LEDs"
104 depends on R8169 && LEDS_TRIGGER_NETDEV
105 depends on !(R8169=y && LEDS_CLASS=m)
106 help
107 Optional support for controlling the NIC LED's with the netdev
108 LED trigger.
109
110 config RTASE
111 tristate "Realtek Automotive Switch 9054/9068/9072/9075/9068/9071 PCIe Interface support"
112 depends on PCI
113 select CRC32
114 select PAGE_POOL
115 help
116 Say Y here and it will be compiled and linked with the kernel
117 if you have a Realtek Ethernet adapter belonging to the
118 following families:
119 RTL9054 5GBit Ethernet
120 RTL9068 5GBit Ethernet
121 RTL9072 5GBit Ethernet
122 RTL9075 5GBit Ethernet
123 RTL9068 5GBit Ethernet
124 RTL9071 5GBit Ethernet
125
126 To compile this driver as a module, choose M here: the module
127 will be called rtase. This is recommended.
128
129 endif # NET_VENDOR_REALTEK