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