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

3c*/acenic/typhoon: Move 3Com Ethernet drivers

Moves the 3Com drivers into drivers/net/ethernet/3com/ and the necessary
Kconfig and Makefile changes.

Did not move the following drivers becuase they use a non-3Com
chipset: 3c503, 3c505, 3c507, 3c523 and 3c527

CC: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
CC: David Dillow <dave@thedillows.org>
CC: Jes Sorensen <jes@trained-monkey.org>
CC: Alan Cox <alan@linux.intel.com>
CC: David Hinds <dahinds@users.sourceforge.net>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: David Dillow <dave@thedillows.org>

+176 -158
+3 -3
MAINTAINERS
··· 124 124 L: netdev@vger.kernel.org 125 125 S: Maintained 126 126 F: Documentation/networking/vortex.txt 127 - F: drivers/net/3c59x.c 127 + F: drivers/net/ethernet/3com/3c59x.c 128 128 129 129 3CR990 NETWORK DRIVER 130 130 M: David Dillow <dave@thedillows.org> 131 131 L: netdev@vger.kernel.org 132 132 S: Maintained 133 - F: drivers/net/typhoon* 133 + F: drivers/net/ethernet/3com/typhoon* 134 134 135 135 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 136 136 M: Adam Radford <linuxraid@lsi.com> ··· 214 214 M: Jes Sorensen <jes@trained-monkey.org> 215 215 L: linux-acenic@sunsite.dk 216 216 S: Maintained 217 - F: drivers/net/acenic* 217 + F: drivers/net/ethernet/3com/acenic* 218 218 219 219 ACER ASPIRE ONE TEMPERATURE AND FAN DRIVER 220 220 M: Peter Feuerer <peter@piie.net>
drivers/net/3c501.c drivers/net/ethernet/3com/3c501.c
drivers/net/3c501.h drivers/net/ethernet/3com/3c501.h
drivers/net/3c509.c drivers/net/ethernet/3com/3c509.c
drivers/net/3c515.c drivers/net/ethernet/3com/3c515.c
drivers/net/3c59x.c drivers/net/ethernet/3com/3c59x.c
+9 -129
drivers/net/Kconfig
··· 616 616 help 617 617 Support for virtual network devices under Sun Logical Domains. 618 618 619 - config NET_VENDOR_3COM 620 - bool "3COM cards" 621 - depends on ISA || EISA || MCA || PCI 622 - help 623 - If you have a network (Ethernet) card belonging to this class, say Y 624 - and read the Ethernet-HOWTO, available from 625 - <http://www.tldp.org/docs.html#howto>. 626 - 627 - Note that the answer to this question doesn't directly affect the 628 - kernel: saying N will just cause the configurator to skip all 629 - the questions about 3COM cards. If you say Y, you will be asked for 630 - your specific card in the following questions. 631 - 632 - config EL1 633 - tristate "3c501 \"EtherLink\" support" 634 - depends on NET_VENDOR_3COM && ISA 635 - ---help--- 636 - If you have a network (Ethernet) card of this type, say Y and read 637 - the Ethernet-HOWTO, available from 638 - <http://www.tldp.org/docs.html#howto>. Also, consider buying a 639 - new card, since the 3c501 is slow, broken, and obsolete: you will 640 - have problems. Some people suggest to ping ("man ping") a nearby 641 - machine every minute ("man cron") when using this card. 642 - 643 - To compile this driver as a module, choose M here. The module 644 - will be called 3c501. 645 - 646 619 config EL2 647 620 tristate "3c503 \"EtherLink II\" support" 648 - depends on NET_VENDOR_3COM && ISA 621 + depends on ISA 649 622 select CRC32 650 - help 623 + ---help--- 651 624 If you have a network (Ethernet) card of this type, say Y and read 652 625 the Ethernet-HOWTO, available from 653 626 <http://www.tldp.org/docs.html#howto>. ··· 630 657 631 658 config ELPLUS 632 659 tristate "3c505 \"EtherLink Plus\" support" 633 - depends on NET_VENDOR_3COM && ISA && ISA_DMA_API 660 + depends on ISA && ISA_DMA_API 634 661 ---help--- 635 662 Information about this network (Ethernet) card can be found in 636 663 <file:Documentation/networking/3c505.txt>. If you have a card of ··· 642 669 643 670 config EL16 644 671 tristate "3c507 \"EtherLink 16\" support (EXPERIMENTAL)" 645 - depends on NET_VENDOR_3COM && ISA && EXPERIMENTAL 646 - help 672 + depends on ISA && EXPERIMENTAL 673 + ---help--- 647 674 If you have a network (Ethernet) card of this type, say Y and read 648 675 the Ethernet-HOWTO, available from 649 676 <http://www.tldp.org/docs.html#howto>. ··· 651 678 To compile this driver as a module, choose M here. The module 652 679 will be called 3c507. 653 680 654 - config EL3 655 - tristate "3c509/3c529 (MCA)/3c579 \"EtherLink III\" support" 656 - depends on NET_VENDOR_3COM && (ISA || EISA || MCA) 657 - ---help--- 658 - If you have a network (Ethernet) card belonging to the 3Com 659 - EtherLinkIII series, say Y and read the Ethernet-HOWTO, available 660 - from <http://www.tldp.org/docs.html#howto>. 661 - 662 - If your card is not working you may need to use the DOS 663 - setup disk to disable Plug & Play mode, and to select the default 664 - media type. 665 - 666 - To compile this driver as a module, choose M here. The module 667 - will be called 3c509. 668 - 669 - config 3C515 670 - tristate "3c515 ISA \"Fast EtherLink\"" 671 - depends on NET_VENDOR_3COM && (ISA || EISA) && ISA_DMA_API 672 - help 673 - If you have a 3Com ISA EtherLink XL "Corkscrew" 3c515 Fast Ethernet 674 - network card, say Y and read the Ethernet-HOWTO, available from 675 - <http://www.tldp.org/docs.html#howto>. 676 - 677 - To compile this driver as a module, choose M here. The module 678 - will be called 3c515. 679 - 680 681 config ELMC 681 682 tristate "3c523 \"EtherLink/MC\" support" 682 - depends on NET_VENDOR_3COM && MCA_LEGACY 683 - help 683 + depends on MCA_LEGACY 684 + ---help--- 684 685 If you have a network (Ethernet) card of this type, say Y and read 685 686 the Ethernet-HOWTO, available from 686 687 <http://www.tldp.org/docs.html#howto>. ··· 664 717 665 718 config ELMC_II 666 719 tristate "3c527 \"EtherLink/MC 32\" support (EXPERIMENTAL)" 667 - depends on NET_VENDOR_3COM && MCA && MCA_LEGACY 668 - help 720 + depends on MCA && MCA_LEGACY 721 + ---help--- 669 722 If you have a network (Ethernet) card of this type, say Y and read 670 723 the Ethernet-HOWTO, available from 671 724 <http://www.tldp.org/docs.html#howto>. 672 725 673 726 To compile this driver as a module, choose M here. The module 674 727 will be called 3c527. 675 - 676 - config VORTEX 677 - tristate "3c590/3c900 series (592/595/597) \"Vortex/Boomerang\" support" 678 - depends on NET_VENDOR_3COM && (PCI || EISA) 679 - select MII 680 - ---help--- 681 - This option enables driver support for a large number of 10Mbps and 682 - 10/100Mbps EISA, PCI and PCMCIA 3Com network cards: 683 - 684 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI 685 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI 686 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus 687 - "Tornado" (3c905) PCI 688 - "Hurricane" (3c555/3cSOHO) PCI 689 - 690 - If you have such a card, say Y and read the Ethernet-HOWTO, 691 - available from <http://www.tldp.org/docs.html#howto>. More 692 - specific information is in 693 - <file:Documentation/networking/vortex.txt> and in the comments at 694 - the beginning of <file:drivers/net/3c59x.c>. 695 - 696 - To compile this support as a module, choose M here. 697 - 698 - config TYPHOON 699 - tristate "3cr990 series \"Typhoon\" support" 700 - depends on NET_VENDOR_3COM && PCI 701 - select CRC32 702 - ---help--- 703 - This option enables driver support for the 3cr990 series of cards: 704 - 705 - 3C990-TX, 3CR990-TX-95, 3CR990-TX-97, 3CR990-FX-95, 3CR990-FX-97, 706 - 3CR990SVR, 3CR990SVR95, 3CR990SVR97, 3CR990-FX-95 Server, 707 - 3CR990-FX-97 Server, 3C990B-TX-M, 3C990BSVR 708 - 709 - If you have a network (Ethernet) card of this type, say Y and read 710 - the Ethernet-HOWTO, available from 711 - <http://www.tldp.org/docs.html#howto>. 712 - 713 - To compile this driver as a module, choose M here. The module 714 - will be called typhoon. 715 728 716 729 config LANCE 717 730 tristate "AMD LANCE and PCnet (AT1500 and NE2100) support" ··· 1952 2045 If you say N, all options in this submenu will be skipped and disabled. 1953 2046 1954 2047 if NETDEV_1000 1955 - 1956 - config ACENIC 1957 - tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support" 1958 - depends on PCI 1959 - ---help--- 1960 - Say Y here if you have an Alteon AceNIC, 3Com 3C985(B), NetGear 1961 - GA620, SGI Gigabit or Farallon PN9000-SX PCI Gigabit Ethernet 1962 - adapter. The driver allows for using the Jumbo Frame option (9000 1963 - bytes/frame) however it requires that your switches can handle this 1964 - as well. To enable Jumbo Frames, add `mtu 9000' to your ifconfig 1965 - line. 1966 - 1967 - To compile this driver as a module, choose M here: the 1968 - module will be called acenic. 1969 - 1970 - config ACENIC_OMIT_TIGON_I 1971 - bool "Omit support for old Tigon I based AceNICs" 1972 - depends on ACENIC 1973 - help 1974 - Say Y here if you only have Tigon II based AceNICs and want to leave 1975 - out support for the older Tigon I based cards which are no longer 1976 - being sold (ie. the original Alteon AceNIC and 3Com 3C985 (non B 1977 - version)). This will reduce the size of the driver object by 1978 - app. 100KB. If you are not sure whether your card is a Tigon I or a 1979 - Tigon II, say N here. 1980 - 1981 - The safe and default value for this is N. 1982 2048 1983 2049 config DL2K 1984 2050 tristate "DL2000/TC902x-based Gigabit Ethernet support"
+1 -6
drivers/net/Makefile
··· 66 66 obj-$(CONFIG_MACE) += mace.o 67 67 obj-$(CONFIG_BMAC) += bmac.o 68 68 69 - obj-$(CONFIG_VORTEX) += 3c59x.o 70 - obj-$(CONFIG_TYPHOON) += typhoon.o 71 69 obj-$(CONFIG_NE2K_PCI) += ne2k-pci.o 8390.o 72 70 obj-$(CONFIG_PCNET32) += pcnet32.o 73 71 obj-$(CONFIG_E100) += e100.o ··· 76 78 obj-$(CONFIG_SIS900) += sis900.o 77 79 obj-$(CONFIG_R6040) += r6040.o 78 80 obj-$(CONFIG_YELLOWFIN) += yellowfin.o 79 - obj-$(CONFIG_ACENIC) += acenic.o 80 81 obj-$(CONFIG_ISERIES_VETH) += iseries_veth.o 81 82 obj-$(CONFIG_NATSEMI) += natsemi.o 82 83 obj-$(CONFIG_NS83820) += ns83820.o ··· 184 187 obj-$(CONFIG_SGISEEQ) += sgiseeq.o 185 188 obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o 186 189 obj-$(CONFIG_AT1700) += at1700.o 187 - obj-$(CONFIG_EL1) += 3c501.o 188 190 obj-$(CONFIG_EL16) += 3c507.o 189 191 obj-$(CONFIG_ELMC) += 3c523.o 190 192 obj-$(CONFIG_IBMLANA) += ibmlana.o 191 193 obj-$(CONFIG_ELMC_II) += 3c527.o 192 - obj-$(CONFIG_EL3) += 3c509.o 193 - obj-$(CONFIG_3C515) += 3c515.o 194 194 obj-$(CONFIG_EEXPRESS) += eexpress.o 195 195 obj-$(CONFIG_EEXPRESS_PRO) += eepro.o 196 196 obj-$(CONFIG_8139CP) += 8139cp.o ··· 263 269 264 270 obj-$(CONFIG_ARM) += arm/ 265 271 obj-$(CONFIG_DEV_APPLETALK) += appletalk/ 272 + obj-$(CONFIG_ETHERNET) += ethernet/ 266 273 obj-$(CONFIG_TR) += tokenring/ 267 274 obj-$(CONFIG_WAN) += wan/ 268 275 obj-$(CONFIG_ARCNET) += arcnet/
drivers/net/acenic.c drivers/net/ethernet/3com/acenic.c
drivers/net/acenic.h drivers/net/ethernet/3com/acenic.h
+147
drivers/net/ethernet/3com/Kconfig
··· 1 + # 2 + # 3Com Ethernet device configuration 3 + # 4 + 5 + config NET_VENDOR_3COM 6 + bool "3Com devices" 7 + depends on ISA || EISA || MCA || PCI || PCMCIA 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 3Com cards. If you say Y, you will be asked for 16 + your specific card in the following questions. 17 + 18 + if NET_VENDOR_3COM 19 + 20 + config EL1 21 + tristate "3c501 \"EtherLink\" support" 22 + depends on ISA 23 + ---help--- 24 + If you have a network (Ethernet) card of this type, say Y and read 25 + the Ethernet-HOWTO, available from 26 + <http://www.tldp.org/docs.html#howto>. Also, consider buying a 27 + new card, since the 3c501 is slow, broken, and obsolete: you will 28 + have problems. Some people suggest to ping ("man ping") a nearby 29 + machine every minute ("man cron") when using this card. 30 + 31 + To compile this driver as a module, choose M here. The module 32 + will be called 3c501. 33 + 34 + config EL3 35 + tristate "3c509/3c529 (MCA)/3c579 \"EtherLink III\" support" 36 + depends on (ISA || EISA || MCA) 37 + ---help--- 38 + If you have a network (Ethernet) card belonging to the 3Com 39 + EtherLinkIII series, say Y and read the Ethernet-HOWTO, available 40 + from <http://www.tldp.org/docs.html#howto>. 41 + 42 + If your card is not working you may need to use the DOS 43 + setup disk to disable Plug & Play mode, and to select the default 44 + media type. 45 + 46 + To compile this driver as a module, choose M here. The module 47 + will be called 3c509. 48 + 49 + config 3C515 50 + tristate "3c515 ISA \"Fast EtherLink\"" 51 + depends on (ISA || EISA) && ISA_DMA_API 52 + ---help--- 53 + If you have a 3Com ISA EtherLink XL "Corkscrew" 3c515 Fast Ethernet 54 + network card, say Y and read the Ethernet-HOWTO, available from 55 + <http://www.tldp.org/docs.html#howto>. 56 + 57 + To compile this driver as a module, choose M here. The module 58 + will be called 3c515. 59 + 60 + config PCMCIA_3C574 61 + tristate "3Com 3c574 PCMCIA support" 62 + depends on PCMCIA 63 + ---help--- 64 + Say Y here if you intend to attach a 3Com 3c574 or compatible PCMCIA 65 + (PC-card) Fast Ethernet card to your computer. 66 + 67 + To compile this driver as a module, choose M here: the module will be 68 + called 3c574_cs. If unsure, say N. 69 + 70 + config PCMCIA_3C589 71 + tristate "3Com 3c589 PCMCIA support" 72 + depends on PCMCIA 73 + ---help--- 74 + Say Y here if you intend to attach a 3Com 3c589 or compatible PCMCIA 75 + (PC-card) Ethernet card to your computer. 76 + 77 + To compile this driver as a module, choose M here: the module will be 78 + called 3c589_cs. If unsure, say N. 79 + 80 + config VORTEX 81 + tristate "3c590/3c900 series (592/595/597) \"Vortex/Boomerang\" support" 82 + depends on (PCI || EISA) 83 + select MII 84 + ---help--- 85 + This option enables driver support for a large number of 10Mbps and 86 + 10/100Mbps EISA, PCI and PCMCIA 3Com network cards: 87 + 88 + "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI 89 + "Boomerang" (EtherLink XL 3c900 or 3c905) PCI 90 + "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus 91 + "Tornado" (3c905) PCI 92 + "Hurricane" (3c555/3cSOHO) PCI 93 + 94 + If you have such a card, say Y and read the Ethernet-HOWTO, 95 + available from <http://www.tldp.org/docs.html#howto>. More 96 + specific information is in 97 + <file:Documentation/networking/vortex.txt> and in the comments at 98 + the beginning of <file:drivers/net/3c59x.c>. 99 + 100 + To compile this support as a module, choose M here. 101 + 102 + config TYPHOON 103 + tristate "3cr990 series \"Typhoon\" support" 104 + depends on PCI 105 + select CRC32 106 + ---help--- 107 + This option enables driver support for the 3cr990 series of cards: 108 + 109 + 3C990-TX, 3CR990-TX-95, 3CR990-TX-97, 3CR990-FX-95, 3CR990-FX-97, 110 + 3CR990SVR, 3CR990SVR95, 3CR990SVR97, 3CR990-FX-95 Server, 111 + 3CR990-FX-97 Server, 3C990B-TX-M, 3C990BSVR 112 + 113 + If you have a network (Ethernet) card of this type, say Y and read 114 + the Ethernet-HOWTO, available from 115 + <http://www.tldp.org/docs.html#howto>. 116 + 117 + To compile this driver as a module, choose M here. The module 118 + will be called typhoon. 119 + 120 + config ACENIC 121 + tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support" 122 + depends on PCI 123 + ---help--- 124 + Say Y here if you have an Alteon AceNIC, 3Com 3C985(B), NetGear 125 + GA620, SGI Gigabit or Farallon PN9000-SX PCI Gigabit Ethernet 126 + adapter. The driver allows for using the Jumbo Frame option (9000 127 + bytes/frame) however it requires that your switches can handle this 128 + as well. To enable Jumbo Frames, add `mtu 9000' to your ifconfig 129 + line. 130 + 131 + To compile this driver as a module, choose M here: the 132 + module will be called acenic. 133 + 134 + config ACENIC_OMIT_TIGON_I 135 + bool "Omit support for old Tigon I based AceNICs" 136 + depends on ACENIC 137 + ---help--- 138 + Say Y here if you only have Tigon II based AceNICs and want to leave 139 + out support for the older Tigon I based cards which are no longer 140 + being sold (ie. the original Alteon AceNIC and 3Com 3C985 (non B 141 + version)). This will reduce the size of the driver object by 142 + app. 100KB. If you are not sure whether your card is a Tigon I or a 143 + Tigon II, say N here. 144 + 145 + The safe and default value for this is N. 146 + 147 + endif # NET_VENDOR_3COM
+12
drivers/net/ethernet/3com/Makefile
··· 1 + # 2 + # Makefile for the 3Com Ethernet device drivers 3 + # 4 + 5 + obj-$(CONFIG_EL1) += 3c501.o 6 + obj-$(CONFIG_EL3) += 3c509.o 7 + obj-$(CONFIG_3C515) += 3c515.o 8 + obj-$(CONFIG_PCMCIA_3C589) += 3c589_cs.o 9 + obj-$(CONFIG_PCMCIA_3C574) += 3c574_cs.o 10 + obj-$(CONFIG_VORTEX) += 3c59x.o 11 + obj-$(CONFIG_ACENIC) += acenic.o 12 + obj-$(CONFIG_TYPHOON) += typhoon.o
+2
drivers/net/ethernet/Kconfig
··· 11 11 12 12 if ETHERNET 13 13 14 + source "drivers/net/ethernet/3com/Kconfig" 15 + 14 16 endif # ETHERNET
+2
drivers/net/ethernet/Makefile
··· 1 1 # 2 2 # Makefile for the Linux network Ethernet device drivers. 3 3 # 4 + 5 + obj-$(CONFIG_NET_VENDOR_3COM) += 3com/
drivers/net/pcmcia/3c574_cs.c drivers/net/ethernet/3com/3c574_cs.c
drivers/net/pcmcia/3c589_cs.c drivers/net/ethernet/3com/3c589_cs.c
-18
drivers/net/pcmcia/Kconfig
··· 21 21 22 22 if NET_PCMCIA && PCMCIA 23 23 24 - config PCMCIA_3C589 25 - tristate "3Com 3c589 PCMCIA support" 26 - help 27 - Say Y here if you intend to attach a 3Com 3c589 or compatible PCMCIA 28 - (PC-card) Ethernet card to your computer. 29 - 30 - To compile this driver as a module, choose M here: the module will be 31 - called 3c589_cs. If unsure, say N. 32 - 33 - config PCMCIA_3C574 34 - tristate "3Com 3c574 PCMCIA support" 35 - help 36 - Say Y here if you intend to attach a 3Com 3c574 or compatible PCMCIA 37 - (PC-card) Fast Ethernet card to your computer. 38 - 39 - To compile this driver as a module, choose M here: the module will be 40 - called 3c574_cs. If unsure, say N. 41 - 42 24 config PCMCIA_FMVJ18X 43 25 tristate "Fujitsu FMV-J18x PCMCIA support" 44 26 select CRC32
-2
drivers/net/pcmcia/Makefile
··· 3 3 # 4 4 5 5 # 16-bit client drivers 6 - obj-$(CONFIG_PCMCIA_3C589) += 3c589_cs.o 7 - obj-$(CONFIG_PCMCIA_3C574) += 3c574_cs.o 8 6 obj-$(CONFIG_PCMCIA_FMVJ18X) += fmvj18x_cs.o 9 7 obj-$(CONFIG_PCMCIA_NMCLAN) += nmclan_cs.o 10 8 obj-$(CONFIG_PCMCIA_PCNET) += pcnet_cs.o
drivers/net/typhoon.c drivers/net/ethernet/3com/typhoon.c
drivers/net/typhoon.h drivers/net/ethernet/3com/typhoon.h