xref: /linux/drivers/net/ethernet/realtek/Kconfig (revision 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Realtek device configuration
4#
5
6config NET_VENDOR_REALTEK
7	bool "Realtek devices"
8	default y
9	depends on PCI || (PARPORT && X86)
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
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
26	  port. Read the file <file:drivers/net/ethernet/realtek/atp.c>
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.
30
31	  To compile this driver as a module, choose M here: the module
32	  will be called atp.
33
34config 8139CP
35	tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support"
36	depends on PCI
37	select CRC32
38	select MII
39	help
40	  This is a driver for the Fast Ethernet PCI network cards based on
41	  the RTL8139C+ chips. If you have one of those, say Y here.
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
53	  the RTL 8129/8130/8139 chips. If you have one of those, say Y here.
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/8168/8101/8125 ethernet support"
100	depends on PCI
101	select FW_LOADER
102	select CRC32
103	select PHYLIB
104	select REALTEK_PHY
105	help
106	  Say Y here if you have a Realtek Ethernet adapter belonging to
107	  the following families:
108	  RTL8169 Gigabit Ethernet
109	  RTL8168 Gigabit Ethernet
110	  RTL8101 Fast Ethernet
111	  RTL8125 2.5GBit Ethernet
112
113	  To compile this driver as a module, choose M here: the module
114	  will be called r8169.  This is recommended.
115
116config R8169_LEDS
117	def_bool R8169 && LEDS_TRIGGER_NETDEV
118	depends on !(R8169=y && LEDS_CLASS=m)
119	help
120	  Optional support for controlling the NIC LED's with the netdev
121	  LED trigger.
122
123endif # NET_VENDOR_REALTEK
124