0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Realtek device configuration
0004 #
0005
0006 config NET_VENDOR_REALTEK
0007 bool "Realtek devices"
0008 default y
0009 depends on PCI || (PARPORT && X86)
0010 help
0011 If you have a network (Ethernet) card belonging to this class, say Y.
0012
0013 Note that the answer to this question doesn't directly affect the
0014 kernel: saying N will just cause the configurator to skip all
0015 the questions about Realtek devices. If you say Y, you will be asked for
0016 your specific card in the following questions.
0017
0018 if NET_VENDOR_REALTEK
0019
0020 config ATP
0021 tristate "AT-LAN-TEC/RealTek pocket adapter support"
0022 depends on PARPORT && X86
0023 select CRC32
0024 help
0025 This is a network (Ethernet) device which attaches to your parallel
0026 port. Read the file <file:drivers/net/ethernet/realtek/atp.c>
0027 if you want to use this. If you intend to use this driver, you
0028 should have said N to the "Parallel printer support", because the two
0029 drivers don't like each other.
0030
0031 To compile this driver as a module, choose M here: the module
0032 will be called atp.
0033
0034 config 8139CP
0035 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support"
0036 depends on PCI
0037 select CRC32
0038 select MII
0039 help
0040 This is a driver for the Fast Ethernet PCI network cards based on
0041 the RTL8139C+ chips. If you have one of those, say Y here.
0042
0043 To compile this driver as a module, choose M here: the module
0044 will be called 8139cp. This is recommended.
0045
0046 config 8139TOO
0047 tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
0048 depends on PCI
0049 select CRC32
0050 select MII
0051 help
0052 This is a driver for the Fast Ethernet PCI network cards based on
0053 the RTL 8129/8130/8139 chips. If you have one of those, say Y here.
0054
0055 To compile this driver as a module, choose M here: the module
0056 will be called 8139too. This is recommended.
0057
0058 config 8139TOO_PIO
0059 bool "Use PIO instead of MMIO"
0060 default y
0061 depends on 8139TOO
0062 help
0063 This instructs the driver to use programmed I/O ports (PIO) instead
0064 of PCI shared memory (MMIO). This can possibly solve some problems
0065 in case your mainboard has memory consistency issues. If unsure,
0066 say N.
0067
0068 config 8139TOO_TUNE_TWISTER
0069 bool "Support for uncommon RTL-8139 rev. K (automatic channel equalization)"
0070 depends on 8139TOO
0071 help
0072 This implements a function which might come in handy in case you
0073 are using low quality on long cabling. It is required for RealTek
0074 RTL-8139 revision K boards, and totally unused otherwise. It tries
0075 to match the transceiver to the cable characteristics. This is
0076 experimental since hardly documented by the manufacturer.
0077 If unsure, say Y.
0078
0079 config 8139TOO_8129
0080 bool "Support for older RTL-8129/8130 boards"
0081 depends on 8139TOO
0082 help
0083 This enables support for the older and uncommon RTL-8129 and
0084 RTL-8130 chips, which support MII via an external transceiver,
0085 instead of an internal one. Disabling this option will save some
0086 memory by making the code size smaller. If unsure, say Y.
0087
0088 config 8139_OLD_RX_RESET
0089 bool "Use older RX-reset method"
0090 depends on 8139TOO
0091 help
0092 The 8139too driver was recently updated to contain a more rapid
0093 reset sequence, in the face of severe receive errors. This "new"
0094 RX-reset method should be adequate for all boards. But if you
0095 experience problems, you can enable this option to restore the
0096 old RX-reset behavior. If unsure, say N.
0097
0098 config R8169
0099 tristate "Realtek 8169/8168/8101/8125 ethernet support"
0100 depends on PCI
0101 select FW_LOADER
0102 select CRC32
0103 select PHYLIB
0104 select REALTEK_PHY
0105 help
0106 Say Y here if you have a Realtek Ethernet adapter belonging to
0107 the following families:
0108 RTL8169 Gigabit Ethernet
0109 RTL8168 Gigabit Ethernet
0110 RTL8101 Fast Ethernet
0111 RTL8125 2.5GBit Ethernet
0112
0113 To compile this driver as a module, choose M here: the module
0114 will be called r8169. This is recommended.
0115
0116 endif # NET_VENDOR_REALTEK