aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig106
-rw-r--r--drivers/net/Makefile5
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/realtek/8139cp.c (renamed from drivers/net/8139cp.c)0
-rw-r--r--drivers/net/ethernet/realtek/8139too.c (renamed from drivers/net/8139too.c)0
-rw-r--r--drivers/net/ethernet/realtek/Kconfig126
-rw-r--r--drivers/net/ethernet/realtek/Makefile9
-rw-r--r--drivers/net/ethernet/realtek/atp.c (renamed from drivers/net/atp.c)0
-rw-r--r--drivers/net/ethernet/realtek/atp.h (renamed from drivers/net/atp.h)0
-rw-r--r--drivers/net/ethernet/realtek/r8169.c (renamed from drivers/net/r8169.c)0
-rw-r--r--drivers/net/ethernet/realtek/sc92031.c (renamed from drivers/net/sc92031.c)0
12 files changed, 137 insertions, 111 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 8da9f9620680..42408d7dc1c2 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -594,73 +594,6 @@ config FEALNX
594 Say Y here to support the Myson MTD-800 family of PCI-based Ethernet 594 Say Y here to support the Myson MTD-800 family of PCI-based Ethernet
595 cards. <http://www.myson.com.tw/> 595 cards. <http://www.myson.com.tw/>
596 596
597config 8139CP
598 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)"
599 depends on NET_PCI && PCI && EXPERIMENTAL
600 select CRC32
601 select MII
602 help
603 This is a driver for the Fast Ethernet PCI network cards based on
604 the RTL8139C+ chips. If you have one of those, say Y and read
605 the Ethernet-HOWTO, available from
606 <http://www.tldp.org/docs.html#howto>.
607
608 To compile this driver as a module, choose M here: the module
609 will be called 8139cp. This is recommended.
610
611config 8139TOO
612 tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
613 depends on NET_PCI && PCI
614 select CRC32
615 select MII
616 ---help---
617 This is a driver for the Fast Ethernet PCI network cards based on
618 the RTL 8129/8130/8139 chips. If you have one of those, say Y and
619 read the Ethernet-HOWTO <http://www.tldp.org/docs.html#howto>.
620
621 To compile this driver as a module, choose M here: the module
622 will be called 8139too. This is recommended.
623
624config 8139TOO_PIO
625 bool "Use PIO instead of MMIO"
626 default y
627 depends on 8139TOO
628 help
629 This instructs the driver to use programmed I/O ports (PIO) instead
630 of PCI shared memory (MMIO). This can possibly solve some problems
631 in case your mainboard has memory consistency issues. If unsure,
632 say N.
633
634config 8139TOO_TUNE_TWISTER
635 bool "Support for uncommon RTL-8139 rev. K (automatic channel equalization)"
636 depends on 8139TOO
637 help
638 This implements a function which might come in handy in case you
639 are using low quality on long cabling. It is required for RealTek
640 RTL-8139 revision K boards, and totally unused otherwise. It tries
641 to match the transceiver to the cable characteristics. This is
642 experimental since hardly documented by the manufacturer.
643 If unsure, say Y.
644
645config 8139TOO_8129
646 bool "Support for older RTL-8129/8130 boards"
647 depends on 8139TOO
648 help
649 This enables support for the older and uncommon RTL-8129 and
650 RTL-8130 chips, which support MII via an external transceiver,
651 instead of an internal one. Disabling this option will save some
652 memory by making the code size smaller. If unsure, say Y.
653
654config 8139_OLD_RX_RESET
655 bool "Use older RX-reset method"
656 depends on 8139TOO
657 help
658 The 8139too driver was recently updated to contain a more rapid
659 reset sequence, in the face of severe receive errors. This "new"
660 RX-reset method should be adequate for all boards. But if you
661 experience problems, you can enable this option to restore the
662 old RX-reset behavior. If unsure, say N.
663
664config R6040 597config R6040
665 tristate "RDC R6040 Fast Ethernet Adapter support" 598 tristate "RDC R6040 Fast Ethernet Adapter support"
666 depends on NET_PCI && PCI 599 depends on NET_PCI && PCI
@@ -776,18 +709,6 @@ config VIA_RHINE_MMIO
776 709
777 If unsure, say Y. 710 If unsure, say Y.
778 711
779config SC92031
780 tristate "Silan SC92031 PCI Fast Ethernet Adapter driver (EXPERIMENTAL)"
781 depends on NET_PCI && PCI && EXPERIMENTAL
782 select CRC32
783 ---help---
784 This is a driver for the Fast Ethernet PCI network cards based on
785 the Silan SC92031 chip (sometimes also called Rsltek 8139D). If you
786 have one of these, say Y here.
787
788 To compile this driver as a module, choose M here: the module
789 will be called sc92031. This is recommended.
790
791config CPMAC 712config CPMAC
792 tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)" 713 tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)"
793 depends on NET_ETHERNET && EXPERIMENTAL && AR7 714 depends on NET_ETHERNET && EXPERIMENTAL && AR7
@@ -819,21 +740,6 @@ config NET_POCKET
819 the questions about this class of network devices. If you say Y, you 740 the questions about this class of network devices. If you say Y, you
820 will be asked for your specific device in the following questions. 741 will be asked for your specific device in the following questions.
821 742
822config ATP
823 tristate "AT-LAN-TEC/RealTek pocket adapter support"
824 depends on NET_POCKET && PARPORT && X86
825 select CRC32
826 ---help---
827 This is a network (Ethernet) device which attaches to your parallel
828 port. Read <file:drivers/net/atp.c> as well as the Ethernet-HOWTO,
829 available from <http://www.tldp.org/docs.html#howto>, if you
830 want to use this. If you intend to use this driver, you should have
831 said N to the "Parallel printer support", because the two drivers
832 don't like each other.
833
834 To compile this driver as a module, choose M here: the module
835 will be called atp.
836
837config DE600 743config DE600
838 tristate "D-Link DE600 pocket adapter support" 744 tristate "D-Link DE600 pocket adapter support"
839 depends on NET_POCKET && PARPORT 745 depends on NET_POCKET && PARPORT
@@ -1006,18 +912,6 @@ config YELLOWFIN
1006 To compile this driver as a module, choose M here: the module 912 To compile this driver as a module, choose M here: the module
1007 will be called yellowfin. This is recommended. 913 will be called yellowfin. This is recommended.
1008 914
1009config R8169
1010 tristate "Realtek 8169 gigabit ethernet support"
1011 depends on PCI
1012 select FW_LOADER
1013 select CRC32
1014 select MII
1015 ---help---
1016 Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.
1017
1018 To compile this driver as a module, choose M here: the module
1019 will be called r8169. This is recommended.
1020
1021config SIS190 915config SIS190
1022 tristate "SiS190/SiS191 gigabit ethernet support" 916 tristate "SiS190/SiS191 gigabit ethernet support"
1023 depends on PCI 917 depends on PCI
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 0b341dc04c13..d142fc5ef68c 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -112,12 +112,8 @@ obj-$(CONFIG_DEFXX) += defxx.o
112obj-$(CONFIG_SGISEEQ) += sgiseeq.o 112obj-$(CONFIG_SGISEEQ) += sgiseeq.o
113obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o 113obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o
114obj-$(CONFIG_AT1700) += at1700.o 114obj-$(CONFIG_AT1700) += at1700.o
115obj-$(CONFIG_8139CP) += 8139cp.o
116obj-$(CONFIG_8139TOO) += 8139too.o
117obj-$(CONFIG_CPMAC) += cpmac.o 115obj-$(CONFIG_CPMAC) += cpmac.o
118obj-$(CONFIG_EWRK3) += ewrk3.o 116obj-$(CONFIG_EWRK3) += ewrk3.o
119obj-$(CONFIG_ATP) += atp.o
120obj-$(CONFIG_SC92031) += sc92031.o
121 117
122obj-$(CONFIG_ETH16I) += eth16i.o 118obj-$(CONFIG_ETH16I) += eth16i.o
123obj-$(CONFIG_EQUALIZER) += eql.o 119obj-$(CONFIG_EQUALIZER) += eql.o
@@ -128,7 +124,6 @@ obj-$(CONFIG_TUN) += tun.o
128obj-$(CONFIG_VETH) += veth.o 124obj-$(CONFIG_VETH) += veth.o
129obj-$(CONFIG_NET_NETX) += netx-eth.o 125obj-$(CONFIG_NET_NETX) += netx-eth.o
130obj-$(CONFIG_DL2K) += dl2k.o 126obj-$(CONFIG_DL2K) += dl2k.o
131obj-$(CONFIG_R8169) += r8169.o
132obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o 127obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o
133obj-$(CONFIG_BFIN_MAC) += bfin_mac.o 128obj-$(CONFIG_BFIN_MAC) += bfin_mac.o
134obj-$(CONFIG_DM9000) += dm9000.o 129obj-$(CONFIG_DM9000) += dm9000.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 110071ec4ce6..fecac79b009b 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -32,6 +32,7 @@ source "drivers/net/ethernet/8390/Kconfig"
32source "drivers/net/ethernet/pasemi/Kconfig" 32source "drivers/net/ethernet/pasemi/Kconfig"
33source "drivers/net/ethernet/qlogic/Kconfig" 33source "drivers/net/ethernet/qlogic/Kconfig"
34source "drivers/net/ethernet/racal/Kconfig" 34source "drivers/net/ethernet/racal/Kconfig"
35source "drivers/net/ethernet/realtek/Kconfig"
35source "drivers/net/ethernet/sfc/Kconfig" 36source "drivers/net/ethernet/sfc/Kconfig"
36source "drivers/net/ethernet/smsc/Kconfig" 37source "drivers/net/ethernet/smsc/Kconfig"
37source "drivers/net/ethernet/stmicro/Kconfig" 38source "drivers/net/ethernet/stmicro/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 4a6edf7141d2..0092c30db18f 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -23,6 +23,7 @@ obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
23obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ 23obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
24obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 24obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
25obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 25obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
26obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
26obj-$(CONFIG_SFC) += sfc/ 27obj-$(CONFIG_SFC) += sfc/
27obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ 28obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
28obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/ 29obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
diff --git a/drivers/net/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c
index cc4c210a91f8..cc4c210a91f8 100644
--- a/drivers/net/8139cp.c
+++ b/drivers/net/ethernet/realtek/8139cp.c
diff --git a/drivers/net/8139too.c b/drivers/net/ethernet/realtek/8139too.c
index c2672c692d6f..c2672c692d6f 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/ethernet/realtek/8139too.c
diff --git a/drivers/net/ethernet/realtek/Kconfig b/drivers/net/ethernet/realtek/Kconfig
new file mode 100644
index 000000000000..a5f67a091c4d
--- /dev/null
+++ b/drivers/net/ethernet/realtek/Kconfig
@@ -0,0 +1,126 @@
1#
2# Realtek device configuration
3#
4
5config NET_VENDOR_REALTEK
6 bool "Realtek devices"
7 depends on PCI || (PARPORT && X86)
8 ---help---
9 If you have a network (Ethernet) card belonging to this class, say Y
10 and read the Ethernet-HOWTO, available from
11 <http://www.tldp.org/docs.html#howto>.
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 <file:drivers/net/atp.c> as well as the Ethernet-HOWTO,
27 available from <http://www.tldp.org/docs.html#howto>, if you
28 want to use this. If you intend to use this driver, you should have
29 said N to the "Parallel printer support", because the two drivers
30 don't like each other.
31
32 To compile this driver as a module, choose M here: the module
33 will be called atp.
34
35config 8139CP
36 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)"
37 depends on PCI && EXPERIMENTAL
38 select CRC32
39 select MII
40 ---help---
41 This is a driver for the Fast Ethernet PCI network cards based on
42 the RTL8139C+ chips. If you have one of those, say Y and read
43 the Ethernet-HOWTO, available from
44 <http://www.tldp.org/docs.html#howto>.
45
46 To compile this driver as a module, choose M here: the module
47 will be called 8139cp. This is recommended.
48
49config 8139TOO
50 tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
51 depends on PCI
52 select CRC32
53 select MII
54 ---help---
55 This is a driver for the Fast Ethernet PCI network cards based on
56 the RTL 8129/8130/8139 chips. If you have one of those, say Y and
57 read the Ethernet-HOWTO <http://www.tldp.org/docs.html#howto>.
58
59 To compile this driver as a module, choose M here: the module
60 will be called 8139too. This is recommended.
61
62config 8139TOO_PIO
63 bool "Use PIO instead of MMIO"
64 default y
65 depends on 8139TOO
66 ---help---
67 This instructs the driver to use programmed I/O ports (PIO) instead
68 of PCI shared memory (MMIO). This can possibly solve some problems
69 in case your mainboard has memory consistency issues. If unsure,
70 say N.
71
72config 8139TOO_TUNE_TWISTER
73 bool "Support for uncommon RTL-8139 rev. K (automatic channel equalization)"
74 depends on 8139TOO
75 ---help---
76 This implements a function which might come in handy in case you
77 are using low quality on long cabling. It is required for RealTek
78 RTL-8139 revision K boards, and totally unused otherwise. It tries
79 to match the transceiver to the cable characteristics. This is
80 experimental since hardly documented by the manufacturer.
81 If unsure, say Y.
82
83config 8139TOO_8129
84 bool "Support for older RTL-8129/8130 boards"
85 depends on 8139TOO
86 ---help---
87 This enables support for the older and uncommon RTL-8129 and
88 RTL-8130 chips, which support MII via an external transceiver,
89 instead of an internal one. Disabling this option will save some
90 memory by making the code size smaller. If unsure, say Y.
91
92config 8139_OLD_RX_RESET
93 bool "Use older RX-reset method"
94 depends on 8139TOO
95 ---help---
96 The 8139too driver was recently updated to contain a more rapid
97 reset sequence, in the face of severe receive errors. This "new"
98 RX-reset method should be adequate for all boards. But if you
99 experience problems, you can enable this option to restore the
100 old RX-reset behavior. If unsure, say N.
101
102config R8169
103 tristate "Realtek 8169 gigabit ethernet support"
104 depends on PCI
105 select FW_LOADER
106 select CRC32
107 select MII
108 ---help---
109 Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.
110
111 To compile this driver as a module, choose M here: the module
112 will be called r8169. This is recommended.
113
114config SC92031
115 tristate "Silan SC92031 PCI Fast Ethernet Adapter driver (EXPERIMENTAL)"
116 depends on PCI && EXPERIMENTAL
117 select CRC32
118 ---help---
119 This is a driver for the Fast Ethernet PCI network cards based on
120 the Silan SC92031 chip (sometimes also called Rsltek 8139D). If you
121 have one of these, say Y here.
122
123 To compile this driver as a module, choose M here: the module
124 will be called sc92031. This is recommended.
125
126endif # NET_VENDOR_REALTEK
diff --git a/drivers/net/ethernet/realtek/Makefile b/drivers/net/ethernet/realtek/Makefile
new file mode 100644
index 000000000000..e48cfb6ac42d
--- /dev/null
+++ b/drivers/net/ethernet/realtek/Makefile
@@ -0,0 +1,9 @@
1#
2# Makefile for the Realtek network device drivers.
3#
4
5obj-$(CONFIG_8139CP) += 8139cp.o
6obj-$(CONFIG_8139TOO) += 8139too.o
7obj-$(CONFIG_ATP) += atp.o
8obj-$(CONFIG_R8169) += r8169.o
9obj-$(CONFIG_SC92031) += sc92031.o
diff --git a/drivers/net/atp.c b/drivers/net/ethernet/realtek/atp.c
index f3459798b0e9..f3459798b0e9 100644
--- a/drivers/net/atp.c
+++ b/drivers/net/ethernet/realtek/atp.c
diff --git a/drivers/net/atp.h b/drivers/net/ethernet/realtek/atp.h
index 0edc642c2c2f..0edc642c2c2f 100644
--- a/drivers/net/atp.h
+++ b/drivers/net/ethernet/realtek/atp.h
diff --git a/drivers/net/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 02339b3352e7..02339b3352e7 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
diff --git a/drivers/net/sc92031.c b/drivers/net/ethernet/realtek/sc92031.c
index 9da47337b7c3..9da47337b7c3 100644
--- a/drivers/net/sc92031.c
+++ b/drivers/net/ethernet/realtek/sc92031.c