aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-20 10:15:19 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 03:21:25 -0400
commita88394cfb58007cca945699545469017beb0d206 (patch)
tree7efa1efcaf18d1b8f7bede1f25acdfc0c657c086
parent5ff2241dd42ade03572753f9ed7743719b47c474 (diff)
ewrk3/tulip: Move the DEC - Tulip drivers
Move the DEC - Tulip driver into drivers/net/ethernet/dec/tulip/ and make the necessary Kconfig and Makefile changes. The Digital Equioment (DEC) driver ewrk3 was moved into drivers/net/ethernet/dec/ and the remaining drivers (Tulip) were moved into drivers/net/ethernet/dec/tulip/ CC: Tobias Ringstrom <tori@unhappy.mine.nu> CC: Grant Grundler <grundler@parisc-linux.org> CC: David Davies <davies@maniac.ultranet.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: Grant Grundler <grundler@parisc-linux.org>
-rw-r--r--MAINTAINERS4
-rw-r--r--drivers/net/Kconfig16
-rw-r--r--drivers/net/Makefile2
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/dec/Kconfig36
-rw-r--r--drivers/net/ethernet/dec/Makefile6
-rw-r--r--drivers/net/ethernet/dec/ewrk3.c (renamed from drivers/net/ewrk3.c)0
-rw-r--r--drivers/net/ethernet/dec/ewrk3.h (renamed from drivers/net/ewrk3.h)0
-rw-r--r--drivers/net/ethernet/dec/tulip/21142.c (renamed from drivers/net/tulip/21142.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/Kconfig (renamed from drivers/net/tulip/Kconfig)20
-rw-r--r--drivers/net/ethernet/dec/tulip/Makefile (renamed from drivers/net/tulip/Makefile)0
-rw-r--r--drivers/net/ethernet/dec/tulip/de2104x.c (renamed from drivers/net/tulip/de2104x.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/de4x5.c (renamed from drivers/net/tulip/de4x5.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/de4x5.h (renamed from drivers/net/tulip/de4x5.h)0
-rw-r--r--drivers/net/ethernet/dec/tulip/dmfe.c (renamed from drivers/net/tulip/dmfe.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/eeprom.c (renamed from drivers/net/tulip/eeprom.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/interrupt.c (renamed from drivers/net/tulip/interrupt.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/media.c (renamed from drivers/net/tulip/media.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/pnic.c (renamed from drivers/net/tulip/pnic.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/pnic2.c (renamed from drivers/net/tulip/pnic2.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/timer.c (renamed from drivers/net/tulip/timer.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/tulip.h (renamed from drivers/net/tulip/tulip.h)0
-rw-r--r--drivers/net/ethernet/dec/tulip/tulip_core.c (renamed from drivers/net/tulip/tulip_core.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/uli526x.c (renamed from drivers/net/tulip/uli526x.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/winbond-840.c (renamed from drivers/net/tulip/winbond-840.c)0
-rw-r--r--drivers/net/ethernet/dec/tulip/xircom_cb.c (renamed from drivers/net/tulip/xircom_cb.c)0
27 files changed, 56 insertions, 30 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 26fa497e3733..fbafbb68ae59 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2073,7 +2073,7 @@ DAVICOM FAST ETHERNET (DMFE) NETWORK DRIVER
2073L: netdev@vger.kernel.org 2073L: netdev@vger.kernel.org
2074S: Orphan 2074S: Orphan
2075F: Documentation/networking/dmfe.txt 2075F: Documentation/networking/dmfe.txt
2076F: drivers/net/tulip/dmfe.c 2076F: drivers/net/ethernet/tulip/dmfe.c
2077 2077
2078DC390/AM53C974 SCSI driver 2078DC390/AM53C974 SCSI driver
2079M: Kurt Garloff <garloff@suse.de> 2079M: Kurt Garloff <garloff@suse.de>
@@ -6514,7 +6514,7 @@ TULIP NETWORK DRIVERS
6514M: Grant Grundler <grundler@parisc-linux.org> 6514M: Grant Grundler <grundler@parisc-linux.org>
6515L: netdev@vger.kernel.org 6515L: netdev@vger.kernel.org
6516S: Maintained 6516S: Maintained
6517F: drivers/net/tulip/ 6517F: drivers/net/ethernet/tulip/
6518 6518
6519TUN/TAP driver 6519TUN/TAP driver
6520M: Maxim Krasnyansky <maxk@qualcomm.com> 6520M: Maxim Krasnyansky <maxk@qualcomm.com>
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index c8779c13af89..0cb136c1d6db 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -452,8 +452,6 @@ config DNET
452 To compile this driver as a module, choose M here: the module 452 To compile this driver as a module, choose M here: the module
453 will be called dnet. 453 will be called dnet.
454 454
455source "drivers/net/tulip/Kconfig"
456
457config AT1700 455config AT1700
458 tristate "AT1700/1720 support (EXPERIMENTAL)" 456 tristate "AT1700/1720 support (EXPERIMENTAL)"
459 depends on (ISA || MCA_LEGACY) && EXPERIMENTAL 457 depends on (ISA || MCA_LEGACY) && EXPERIMENTAL
@@ -494,20 +492,6 @@ config NET_ISA
494 the remaining ISA network card questions. If you say Y, you will be 492 the remaining ISA network card questions. If you say Y, you will be
495 asked for your specific card in the following questions. 493 asked for your specific card in the following questions.
496 494
497config EWRK3
498 tristate "EtherWORKS 3 (DE203, DE204, DE205) support"
499 depends on NET_ISA
500 select CRC32
501 ---help---
502 This driver supports the DE203, DE204 and DE205 network (Ethernet)
503 cards. If this is for you, say Y and read
504 <file:Documentation/networking/ewrk3.txt> in the kernel source as
505 well as the Ethernet-HOWTO, available from
506 <http://www.tldp.org/docs.html#howto>.
507
508 To compile this driver as a module, choose M here. The module
509 will be called ewrk3.
510
511config ETH16I 495config ETH16I
512 tristate "ICL EtherTeam 16i/32 support" 496 tristate "ICL EtherTeam 16i/32 support"
513 depends on NET_ISA 497 depends on NET_ISA
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index db888b0bcd5d..8a56733452ff 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -106,7 +106,6 @@ obj-$(CONFIG_SGISEEQ) += sgiseeq.o
106obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o 106obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o
107obj-$(CONFIG_AT1700) += at1700.o 107obj-$(CONFIG_AT1700) += at1700.o
108obj-$(CONFIG_CPMAC) += cpmac.o 108obj-$(CONFIG_CPMAC) += cpmac.o
109obj-$(CONFIG_EWRK3) += ewrk3.o
110 109
111obj-$(CONFIG_ETH16I) += eth16i.o 110obj-$(CONFIG_ETH16I) += eth16i.o
112obj-$(CONFIG_EQUALIZER) += eql.o 111obj-$(CONFIG_EQUALIZER) += eql.o
@@ -147,7 +146,6 @@ obj-$(CONFIG_USB_IPHETH) += usb/
147obj-$(CONFIG_USB_CDC_PHONET) += usb/ 146obj-$(CONFIG_USB_CDC_PHONET) += usb/
148 147
149obj-$(CONFIG_WLAN) += wireless/ 148obj-$(CONFIG_WLAN) += wireless/
150obj-$(CONFIG_NET_TULIP) += tulip/
151obj-$(CONFIG_HAMRADIO) += hamradio/ 149obj-$(CONFIG_HAMRADIO) += hamradio/
152obj-$(CONFIG_IRDA) += irda/ 150obj-$(CONFIG_IRDA) += irda/
153obj-$(CONFIG_ETRAX_ETHERNET) += cris/ 151obj-$(CONFIG_ETRAX_ETHERNET) += cris/
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 9410f20241f6..ed428501abba 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -19,6 +19,7 @@ source "drivers/net/ethernet/broadcom/Kconfig"
19source "drivers/net/ethernet/brocade/Kconfig" 19source "drivers/net/ethernet/brocade/Kconfig"
20source "drivers/net/ethernet/chelsio/Kconfig" 20source "drivers/net/ethernet/chelsio/Kconfig"
21source "drivers/net/ethernet/cisco/Kconfig" 21source "drivers/net/ethernet/cisco/Kconfig"
22source "drivers/net/ethernet/dec/Kconfig"
22source "drivers/net/ethernet/dlink/Kconfig" 23source "drivers/net/ethernet/dlink/Kconfig"
23source "drivers/net/ethernet/emulex/Kconfig" 24source "drivers/net/ethernet/emulex/Kconfig"
24source "drivers/net/ethernet/neterion/Kconfig" 25source "drivers/net/ethernet/neterion/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 5d89fd9d672b..3de82490adec 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -11,6 +11,7 @@ obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
11obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ 11obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
12obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ 12obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
13obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ 13obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
14obj-$(CONFIG_NET_VENDOR_DEC) += dec/
14obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/ 15obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
15obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ 16obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
16obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ 17obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/
diff --git a/drivers/net/ethernet/dec/Kconfig b/drivers/net/ethernet/dec/Kconfig
new file mode 100644
index 000000000000..40e8df9fde8d
--- /dev/null
+++ b/drivers/net/ethernet/dec/Kconfig
@@ -0,0 +1,36 @@
1#
2# Digital Equipment Inc network device configuration
3#
4
5config NET_VENDOR_DEC
6 bool "Digital Equipment devices"
7 depends on PCI || EISA || CARDBUS
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 DEC cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_DEC
19
20config EWRK3
21 tristate "EtherWORKS 3 (DE203, DE204, DE205) support"
22 depends on ISA
23 select CRC32
24 ---help---
25 This driver supports the DE203, DE204 and DE205 network (Ethernet)
26 cards. If this is for you, say Y and read
27 <file:Documentation/networking/ewrk3.txt> in the kernel source as
28 well as the Ethernet-HOWTO, available from
29 <http://www.tldp.org/docs.html#howto>.
30
31 To compile this driver as a module, choose M here. The module
32 will be called ewrk3.
33
34source "drivers/net/ethernet/dec/tulip/Kconfig"
35
36endif # NET_VENDOR_DEC
diff --git a/drivers/net/ethernet/dec/Makefile b/drivers/net/ethernet/dec/Makefile
new file mode 100644
index 000000000000..1b01ed8d42c8
--- /dev/null
+++ b/drivers/net/ethernet/dec/Makefile
@@ -0,0 +1,6 @@
1#
2# Makefile for the Digital Equipment Inc. network device drivers.
3#
4
5obj-$(CONFIG_EWRK3) += ewrk3.o
6obj-$(CONFIG_NET_TULIP) += tulip/
diff --git a/drivers/net/ewrk3.c b/drivers/net/ethernet/dec/ewrk3.c
index 05a5f71451a7..05a5f71451a7 100644
--- a/drivers/net/ewrk3.c
+++ b/drivers/net/ethernet/dec/ewrk3.c
diff --git a/drivers/net/ewrk3.h b/drivers/net/ethernet/dec/ewrk3.h
index 8e0ee906567b..8e0ee906567b 100644
--- a/drivers/net/ewrk3.h
+++ b/drivers/net/ethernet/dec/ewrk3.h
diff --git a/drivers/net/tulip/21142.c b/drivers/net/ethernet/dec/tulip/21142.c
index 092c3faa882a..092c3faa882a 100644
--- a/drivers/net/tulip/21142.c
+++ b/drivers/net/ethernet/dec/tulip/21142.c
diff --git a/drivers/net/tulip/Kconfig b/drivers/net/ethernet/dec/tulip/Kconfig
index 1f8d4a8d8ea4..f6af772b12c9 100644
--- a/drivers/net/tulip/Kconfig
+++ b/drivers/net/ethernet/dec/tulip/Kconfig
@@ -2,10 +2,10 @@
2# Tulip family network device configuration 2# Tulip family network device configuration
3# 3#
4 4
5menuconfig NET_TULIP 5config NET_TULIP
6 bool "\"Tulip\" family network device support" 6 bool "DEC - Tulip devices"
7 depends on PCI || EISA || CARDBUS 7 depends on (PCI || EISA || CARDBUS)
8 help 8 ---help---
9 This selects the "Tulip" family of EISA/PCI network cards. 9 This selects the "Tulip" family of EISA/PCI network cards.
10 10
11if NET_TULIP 11if NET_TULIP
@@ -32,7 +32,7 @@ config DE2104X_DSL
32 depends on DE2104X 32 depends on DE2104X
33 range 0 31 33 range 0 31
34 default 0 34 default 0
35 help 35 ---help---
36 Setting this value allows to align ring buffer descriptors into their 36 Setting this value allows to align ring buffer descriptors into their
37 own cache lines. Value of 4 corresponds to the typical 32 byte line 37 own cache lines. Value of 4 corresponds to the typical 32 byte line
38 (the descriptor is 16 bytes). This is necessary on systems that lack 38 (the descriptor is 16 bytes). This is necessary on systems that lack
@@ -59,7 +59,7 @@ config TULIP
59config TULIP_MWI 59config TULIP_MWI
60 bool "New bus configuration (EXPERIMENTAL)" 60 bool "New bus configuration (EXPERIMENTAL)"
61 depends on TULIP && EXPERIMENTAL 61 depends on TULIP && EXPERIMENTAL
62 help 62 ---help---
63 This configures your Tulip card specifically for the card and 63 This configures your Tulip card specifically for the card and
64 system cache line size type you are using. 64 system cache line size type you are using.
65 65
@@ -70,7 +70,7 @@ config TULIP_MWI
70config TULIP_MMIO 70config TULIP_MMIO
71 bool "Use PCI shared mem for NIC registers" 71 bool "Use PCI shared mem for NIC registers"
72 depends on TULIP 72 depends on TULIP
73 help 73 ---help---
74 Use PCI shared memory for the NIC registers, rather than going through 74 Use PCI shared memory for the NIC registers, rather than going through
75 the Tulip's PIO (programmed I/O ports). Faster, but could produce 75 the Tulip's PIO (programmed I/O ports). Faster, but could produce
76 obscure bugs if your mainboard has memory controller timing issues. 76 obscure bugs if your mainboard has memory controller timing issues.
@@ -79,7 +79,7 @@ config TULIP_MMIO
79config TULIP_NAPI 79config TULIP_NAPI
80 bool "Use RX polling (NAPI)" 80 bool "Use RX polling (NAPI)"
81 depends on TULIP 81 depends on TULIP
82 help 82 ---help---
83 NAPI is a new driver API designed to reduce CPU and interrupt load 83 NAPI is a new driver API designed to reduce CPU and interrupt load
84 when the driver is receiving lots of packets from the card. It is 84 when the driver is receiving lots of packets from the card. It is
85 still somewhat experimental and thus not yet enabled by default. 85 still somewhat experimental and thus not yet enabled by default.
@@ -107,7 +107,7 @@ config TULIP_DM910X
107 107
108config DE4X5 108config DE4X5
109 tristate "Generic DECchip & DIGITAL EtherWORKS PCI/EISA" 109 tristate "Generic DECchip & DIGITAL EtherWORKS PCI/EISA"
110 depends on PCI || EISA 110 depends on (PCI || EISA)
111 select CRC32 111 select CRC32
112 ---help--- 112 ---help---
113 This is support for the DIGITAL series of PCI/EISA Ethernet cards. 113 This is support for the DIGITAL series of PCI/EISA Ethernet cards.
@@ -126,7 +126,7 @@ config WINBOND_840
126 depends on PCI 126 depends on PCI
127 select CRC32 127 select CRC32
128 select MII 128 select MII
129 help 129 ---help---
130 This driver is for the Winbond W89c840 chip. It also works with 130 This driver is for the Winbond W89c840 chip. It also works with
131 the TX9882 chip on the Compex RL100-ATX board. 131 the TX9882 chip on the Compex RL100-ATX board.
132 More specific information and updates are available from 132 More specific information and updates are available from
diff --git a/drivers/net/tulip/Makefile b/drivers/net/ethernet/dec/tulip/Makefile
index 5e8be38b45bb..5e8be38b45bb 100644
--- a/drivers/net/tulip/Makefile
+++ b/drivers/net/ethernet/dec/tulip/Makefile
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c
index ce90efc6ba3c..ce90efc6ba3c 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/ethernet/dec/tulip/de2104x.c
diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c
index 959b41021a65..959b41021a65 100644
--- a/drivers/net/tulip/de4x5.c
+++ b/drivers/net/ethernet/dec/tulip/de4x5.c
diff --git a/drivers/net/tulip/de4x5.h b/drivers/net/ethernet/dec/tulip/de4x5.h
index 9f2877438fb0..9f2877438fb0 100644
--- a/drivers/net/tulip/de4x5.h
+++ b/drivers/net/ethernet/dec/tulip/de4x5.h
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/ethernet/dec/tulip/dmfe.c
index 9a21ca3873fc..9a21ca3873fc 100644
--- a/drivers/net/tulip/dmfe.c
+++ b/drivers/net/ethernet/dec/tulip/dmfe.c
diff --git a/drivers/net/tulip/eeprom.c b/drivers/net/ethernet/dec/tulip/eeprom.c
index fa5eee925f25..fa5eee925f25 100644
--- a/drivers/net/tulip/eeprom.c
+++ b/drivers/net/ethernet/dec/tulip/eeprom.c
diff --git a/drivers/net/tulip/interrupt.c b/drivers/net/ethernet/dec/tulip/interrupt.c
index 5350d753e0ff..5350d753e0ff 100644
--- a/drivers/net/tulip/interrupt.c
+++ b/drivers/net/ethernet/dec/tulip/interrupt.c
diff --git a/drivers/net/tulip/media.c b/drivers/net/ethernet/dec/tulip/media.c
index 4bd13922875d..4bd13922875d 100644
--- a/drivers/net/tulip/media.c
+++ b/drivers/net/ethernet/dec/tulip/media.c
diff --git a/drivers/net/tulip/pnic.c b/drivers/net/ethernet/dec/tulip/pnic.c
index 52d898bdbeb4..52d898bdbeb4 100644
--- a/drivers/net/tulip/pnic.c
+++ b/drivers/net/ethernet/dec/tulip/pnic.c
diff --git a/drivers/net/tulip/pnic2.c b/drivers/net/ethernet/dec/tulip/pnic2.c
index 93358ee4d830..93358ee4d830 100644
--- a/drivers/net/tulip/pnic2.c
+++ b/drivers/net/ethernet/dec/tulip/pnic2.c
diff --git a/drivers/net/tulip/timer.c b/drivers/net/ethernet/dec/tulip/timer.c
index 2017faf2d0e6..2017faf2d0e6 100644
--- a/drivers/net/tulip/timer.c
+++ b/drivers/net/ethernet/dec/tulip/timer.c
diff --git a/drivers/net/tulip/tulip.h b/drivers/net/ethernet/dec/tulip/tulip.h
index 9db528967da9..9db528967da9 100644
--- a/drivers/net/tulip/tulip.h
+++ b/drivers/net/ethernet/dec/tulip/tulip.h
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c
index 1246998a677c..1246998a677c 100644
--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/ethernet/dec/tulip/tulip_core.c
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/ethernet/dec/tulip/uli526x.c
index 9e63f406f72d..9e63f406f72d 100644
--- a/drivers/net/tulip/uli526x.c
+++ b/drivers/net/ethernet/dec/tulip/uli526x.c
diff --git a/drivers/net/tulip/winbond-840.c b/drivers/net/ethernet/dec/tulip/winbond-840.c
index 862eadf07191..862eadf07191 100644
--- a/drivers/net/tulip/winbond-840.c
+++ b/drivers/net/ethernet/dec/tulip/winbond-840.c
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/ethernet/dec/tulip/xircom_cb.c
index 988b8eb24d37..988b8eb24d37 100644
--- a/drivers/net/tulip/xircom_cb.c
+++ b/drivers/net/ethernet/dec/tulip/xircom_cb.c