Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+56 -30
+2 -2
MAINTAINERS
··· 2073 2073 L: netdev@vger.kernel.org 2074 2074 S: Orphan 2075 2075 F: Documentation/networking/dmfe.txt 2076 - F: drivers/net/tulip/dmfe.c 2076 + F: drivers/net/ethernet/tulip/dmfe.c 2077 2077 2078 2078 DC390/AM53C974 SCSI driver 2079 2079 M: Kurt Garloff <garloff@suse.de> ··· 6514 6514 M: Grant Grundler <grundler@parisc-linux.org> 6515 6515 L: netdev@vger.kernel.org 6516 6516 S: Maintained 6517 - F: drivers/net/tulip/ 6517 + F: drivers/net/ethernet/tulip/ 6518 6518 6519 6519 TUN/TAP driver 6520 6520 M: Maxim Krasnyansky <maxk@qualcomm.com>
-16
drivers/net/Kconfig
··· 452 452 To compile this driver as a module, choose M here: the module 453 453 will be called dnet. 454 454 455 - source "drivers/net/tulip/Kconfig" 456 - 457 455 config AT1700 458 456 tristate "AT1700/1720 support (EXPERIMENTAL)" 459 457 depends on (ISA || MCA_LEGACY) && EXPERIMENTAL ··· 491 493 kernel: saying N will just cause the configurator to skip all 492 494 the remaining ISA network card questions. If you say Y, you will be 493 495 asked for your specific card in the following questions. 494 - 495 - config EWRK3 496 - tristate "EtherWORKS 3 (DE203, DE204, DE205) support" 497 - depends on NET_ISA 498 - select CRC32 499 - ---help--- 500 - This driver supports the DE203, DE204 and DE205 network (Ethernet) 501 - cards. If this is for you, say Y and read 502 - <file:Documentation/networking/ewrk3.txt> in the kernel source as 503 - well as the Ethernet-HOWTO, available from 504 - <http://www.tldp.org/docs.html#howto>. 505 - 506 - To compile this driver as a module, choose M here. The module 507 - will be called ewrk3. 508 496 509 497 config ETH16I 510 498 tristate "ICL EtherTeam 16i/32 support"
-2
drivers/net/Makefile
··· 106 106 obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o 107 107 obj-$(CONFIG_AT1700) += at1700.o 108 108 obj-$(CONFIG_CPMAC) += cpmac.o 109 - obj-$(CONFIG_EWRK3) += ewrk3.o 110 109 111 110 obj-$(CONFIG_ETH16I) += eth16i.o 112 111 obj-$(CONFIG_EQUALIZER) += eql.o ··· 146 147 obj-$(CONFIG_USB_CDC_PHONET) += usb/ 147 148 148 149 obj-$(CONFIG_WLAN) += wireless/ 149 - obj-$(CONFIG_NET_TULIP) += tulip/ 150 150 obj-$(CONFIG_HAMRADIO) += hamradio/ 151 151 obj-$(CONFIG_IRDA) += irda/ 152 152 obj-$(CONFIG_ETRAX_ETHERNET) += cris/
+1
drivers/net/ethernet/Kconfig
··· 19 19 source "drivers/net/ethernet/brocade/Kconfig" 20 20 source "drivers/net/ethernet/chelsio/Kconfig" 21 21 source "drivers/net/ethernet/cisco/Kconfig" 22 + source "drivers/net/ethernet/dec/Kconfig" 22 23 source "drivers/net/ethernet/dlink/Kconfig" 23 24 source "drivers/net/ethernet/emulex/Kconfig" 24 25 source "drivers/net/ethernet/neterion/Kconfig"
+1
drivers/net/ethernet/Makefile
··· 11 11 obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ 12 12 obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ 13 13 obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ 14 + obj-$(CONFIG_NET_VENDOR_DEC) += dec/ 14 15 obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/ 15 16 obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ 16 17 obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/
+36
drivers/net/ethernet/dec/Kconfig
··· 1 + # 2 + # Digital Equipment Inc network device configuration 3 + # 4 + 5 + config 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 + 18 + if NET_VENDOR_DEC 19 + 20 + config 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 + 34 + source "drivers/net/ethernet/dec/tulip/Kconfig" 35 + 36 + endif # NET_VENDOR_DEC
+6
drivers/net/ethernet/dec/Makefile
··· 1 + # 2 + # Makefile for the Digital Equipment Inc. network device drivers. 3 + # 4 + 5 + obj-$(CONFIG_EWRK3) += ewrk3.o 6 + obj-$(CONFIG_NET_TULIP) += tulip/
drivers/net/ewrk3.c drivers/net/ethernet/dec/ewrk3.c
drivers/net/ewrk3.h drivers/net/ethernet/dec/ewrk3.h
drivers/net/tulip/21142.c drivers/net/ethernet/dec/tulip/21142.c
+10 -10
drivers/net/tulip/Kconfig drivers/net/ethernet/dec/tulip/Kconfig
··· 2 2 # Tulip family network device configuration 3 3 # 4 4 5 - menuconfig NET_TULIP 6 - bool "\"Tulip\" family network device support" 7 - depends on PCI || EISA || CARDBUS 8 - help 5 + config NET_TULIP 6 + bool "DEC - Tulip devices" 7 + depends on (PCI || EISA || CARDBUS) 8 + ---help--- 9 9 This selects the "Tulip" family of EISA/PCI network cards. 10 10 11 11 if NET_TULIP ··· 32 32 depends on DE2104X 33 33 range 0 31 34 34 default 0 35 - help 35 + ---help--- 36 36 Setting this value allows to align ring buffer descriptors into their 37 37 own cache lines. Value of 4 corresponds to the typical 32 byte line 38 38 (the descriptor is 16 bytes). This is necessary on systems that lack ··· 59 59 config TULIP_MWI 60 60 bool "New bus configuration (EXPERIMENTAL)" 61 61 depends on TULIP && EXPERIMENTAL 62 - help 62 + ---help--- 63 63 This configures your Tulip card specifically for the card and 64 64 system cache line size type you are using. 65 65 ··· 70 70 config TULIP_MMIO 71 71 bool "Use PCI shared mem for NIC registers" 72 72 depends on TULIP 73 - help 73 + ---help--- 74 74 Use PCI shared memory for the NIC registers, rather than going through 75 75 the Tulip's PIO (programmed I/O ports). Faster, but could produce 76 76 obscure bugs if your mainboard has memory controller timing issues. ··· 79 79 config TULIP_NAPI 80 80 bool "Use RX polling (NAPI)" 81 81 depends on TULIP 82 - help 82 + ---help--- 83 83 NAPI is a new driver API designed to reduce CPU and interrupt load 84 84 when the driver is receiving lots of packets from the card. It is 85 85 still somewhat experimental and thus not yet enabled by default. ··· 107 107 108 108 config DE4X5 109 109 tristate "Generic DECchip & DIGITAL EtherWORKS PCI/EISA" 110 - depends on PCI || EISA 110 + depends on (PCI || EISA) 111 111 select CRC32 112 112 ---help--- 113 113 This is support for the DIGITAL series of PCI/EISA Ethernet cards. ··· 126 126 depends on PCI 127 127 select CRC32 128 128 select MII 129 - help 129 + ---help--- 130 130 This driver is for the Winbond W89c840 chip. It also works with 131 131 the TX9882 chip on the Compex RL100-ATX board. 132 132 More specific information and updates are available from
drivers/net/tulip/Makefile drivers/net/ethernet/dec/tulip/Makefile
drivers/net/tulip/de2104x.c drivers/net/ethernet/dec/tulip/de2104x.c
drivers/net/tulip/de4x5.c drivers/net/ethernet/dec/tulip/de4x5.c
drivers/net/tulip/de4x5.h drivers/net/ethernet/dec/tulip/de4x5.h
drivers/net/tulip/dmfe.c drivers/net/ethernet/dec/tulip/dmfe.c
drivers/net/tulip/eeprom.c drivers/net/ethernet/dec/tulip/eeprom.c
drivers/net/tulip/interrupt.c drivers/net/ethernet/dec/tulip/interrupt.c
drivers/net/tulip/media.c drivers/net/ethernet/dec/tulip/media.c
drivers/net/tulip/pnic.c drivers/net/ethernet/dec/tulip/pnic.c
drivers/net/tulip/pnic2.c drivers/net/ethernet/dec/tulip/pnic2.c
drivers/net/tulip/timer.c drivers/net/ethernet/dec/tulip/timer.c
drivers/net/tulip/tulip.h drivers/net/ethernet/dec/tulip/tulip.h
drivers/net/tulip/tulip_core.c drivers/net/ethernet/dec/tulip/tulip_core.c
drivers/net/tulip/uli526x.c drivers/net/ethernet/dec/tulip/uli526x.c
drivers/net/tulip/winbond-840.c drivers/net/ethernet/dec/tulip/winbond-840.c
drivers/net/tulip/xircom_cb.c drivers/net/ethernet/dec/tulip/xircom_cb.c