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

*sonic/natsemi/ns83829: Move the National Semi-conductor drivers

Move the National Semi-conductor drivers into drivers/net/ethernet/natsemi/
and make the necessary Kconfig and Makefile changes. Also moved the 8390
(National Semi-conductor) devices as a sub-menu of National Semi-conductor
devices.

- moved the ibmlana driver as well into this directory since it is a
"SONIC" driver

CC: Alfred Arnold <alfred.arnold@lancom.de>
CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
CC: Harald Welte <laforge@gnumonks.org>
CC: Tim Hockin <thockin@hockin.org>
CC: <linux-ns83820@kvack.org>
CC: Kevin Chea <kchea@yahoo.com>
CC: Marc Gauthier <marc@linux-xtensa.org>
CC: Chris Zankel <chris@zankel.net>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Marc Gauthier <marc@tensilica.com>

+101 -75
+2 -2
MAINTAINERS
··· 4340 4340 NATSEMI ETHERNET DRIVER (DP8381x) 4341 4341 M: Tim Hockin <thockin@hockin.org> 4342 4342 S: Maintained 4343 - F: drivers/net/natsemi.c 4343 + F: drivers/net/ethernet/natsemi/natsemi.c 4344 4344 4345 4345 NATIVE INSTRUMENTS USB SOUND INTERFACE DRIVER 4346 4346 M: Daniel Mack <zonque@gmail.com> ··· 5943 5943 M: Thomas Bogendoerfer <tsbogend@alpha.franken.de> 5944 5944 L: netdev@vger.kernel.org 5945 5945 S: Maintained 5946 - F: drivers/net/sonic.* 5946 + F: drivers/net/ethernet/natsemi/sonic.* 5947 5947 5948 5948 SONICS SILICON BACKPLANE DRIVER (SSB) 5949 5949 M: Michael Buesch <m@bues.ch>
-62
drivers/net/Kconfig
··· 237 237 238 238 source "drivers/net/arm/Kconfig" 239 239 240 - config MACSONIC 241 - tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)" 242 - depends on MAC 243 - ---help--- 244 - Support for NatSemi SONIC based Ethernet devices. This includes 245 - the onboard Ethernet in many Quadras as well as some LC-PDS, 246 - a few Nubus and all known Comm Slot Ethernet cards. If you have 247 - one of these say Y and read the Ethernet-HOWTO, available from 248 - <http://www.tldp.org/docs.html#howto>. 249 - 250 - To compile this driver as a module, choose M here. This module will 251 - be called macsonic. 252 - 253 240 config KORINA 254 241 tristate "Korina (IDT RC32434) Ethernet support" 255 242 depends on NET_ETHERNET && MIKROTIK_RB532 256 243 help 257 244 If you have a Mikrotik RouterBoard 500 or IDT RC32434 258 245 based system say Y. Otherwise say N. 259 - 260 - config MIPS_JAZZ_SONIC 261 - tristate "MIPS JAZZ onboard SONIC Ethernet support" 262 - depends on MACH_JAZZ 263 - help 264 - This is the driver for the onboard card of MIPS Magnum 4000, 265 - Acer PICA, Olivetti M700-10 and a few other identical OEM systems. 266 - 267 - config XTENSA_XT2000_SONIC 268 - tristate "Xtensa XT2000 onboard SONIC Ethernet support" 269 - depends on XTENSA_PLATFORM_XT2000 270 - help 271 - This is the driver for the onboard card of the Xtensa XT2000 board. 272 246 273 247 config SGI_IOC3_ETH 274 248 bool "SGI IOC3 Ethernet" ··· 530 556 To compile this driver as a module, choose M here. The module 531 557 will be called seeq8005. 532 558 533 - config IBMLANA 534 - tristate "IBM LAN Adapter/A support" 535 - depends on MCA 536 - ---help--- 537 - This is a Micro Channel Ethernet adapter. You need to set 538 - CONFIG_MCA to use this driver. It is both available as an in-kernel 539 - driver and as a module. 540 - 541 - To compile this driver as a module, choose M here. The only 542 - currently supported card is the IBM LAN Adapter/A for Ethernet. It 543 - will both support 16K and 32K memory windows, however a 32K window 544 - gives a better security against packet losses. Usage of multiple 545 - boards with this driver should be possible, but has not been tested 546 - up to now due to lack of hardware. 547 - 548 559 config NET_PCI 549 560 bool "EISA, VLB, PCI and on board controllers" 550 561 depends on ISA || EISA || PCI ··· 593 634 help 594 635 Say Y here to support the Myson MTD-800 family of PCI-based Ethernet 595 636 cards. <http://www.myson.com.tw/> 596 - 597 - config NATSEMI 598 - tristate "National Semiconductor DP8381x series PCI Ethernet support" 599 - depends on NET_PCI && PCI 600 - select CRC32 601 - help 602 - This driver is for the National Semiconductor DP83810 series, 603 - which is used in cards from PureData, NetGear, Linksys 604 - and others, including the 83815 chip. 605 - More specific information and updates are available from 606 - <http://www.scyld.com/network/natsemi.html>. 607 637 608 638 config 8139CP 609 639 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)" ··· 990 1042 will be called ipg. This is recommended. 991 1043 992 1044 source "drivers/net/ixp2000/Kconfig" 993 - 994 - config NS83820 995 - tristate "National Semiconductor DP83820 support" 996 - depends on PCI 997 - help 998 - This is a driver for the National Semiconductor DP83820 series 999 - of gigabit ethernet MACs. Cards using this chipset include 1000 - the D-Link DGE-500T, PureData's PDP8023Z-TG, SMC's SMC9462TX, 1001 - SOHO-GA2000T, SOHO-GA2500T. The driver supports the use of 1002 - zero copy. 1003 1045 1004 1046 config HAMACHI 1005 1047 tristate "Packet Engines Hamachi GNIC-II support"
-7
drivers/net/Makefile
··· 43 43 obj-$(CONFIG_SIS900) += sis900.o 44 44 obj-$(CONFIG_R6040) += r6040.o 45 45 obj-$(CONFIG_YELLOWFIN) += yellowfin.o 46 - obj-$(CONFIG_NATSEMI) += natsemi.o 47 - obj-$(CONFIG_NS83820) += ns83820.o 48 46 obj-$(CONFIG_FEALNX) += fealnx.o 49 47 spidernet-y += spider_net.o spider_net_ethtool.o 50 48 obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o ··· 114 116 obj-$(CONFIG_SGISEEQ) += sgiseeq.o 115 117 obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o 116 118 obj-$(CONFIG_AT1700) += at1700.o 117 - obj-$(CONFIG_IBMLANA) += ibmlana.o 118 119 obj-$(CONFIG_8139CP) += 8139cp.o 119 120 obj-$(CONFIG_8139TOO) += 8139too.o 120 121 obj-$(CONFIG_CPMAC) += cpmac.o ··· 124 127 obj-$(CONFIG_ETH16I) += eth16i.o 125 128 obj-$(CONFIG_EQUALIZER) += eql.o 126 129 obj-$(CONFIG_KORINA) += korina.o 127 - obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o 128 130 obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o 129 131 obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o 130 - obj-$(CONFIG_MACSONIC) += macsonic.o 131 132 obj-$(CONFIG_TUN) += tun.o 132 133 obj-$(CONFIG_VETH) += veth.o 133 134 obj-$(CONFIG_NET_NETX) += netx-eth.o ··· 138 143 obj-$(CONFIG_ETHOC) += ethoc.o 139 144 obj-$(CONFIG_GRETH) += greth.o 140 145 obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o 141 - 142 - obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o 143 146 144 147 obj-$(CONFIG_DNET) += dnet.o 145 148 obj-$(CONFIG_MACB) += macb.o
+4 -3
drivers/net/ethernet/8390/Kconfig
··· 4 4 5 5 config NET_VENDOR_8390 6 6 bool "National Semi-conductor 8390 devices" 7 - depends on AMIGA_PCMCIA || PCI || SUPERH || ISA || MCA || EISA || \ 8 - MAC || M32R || MACH_TX49XX || MCA_LEGACY || H8300 || \ 9 - ARM || MIPS || ZORRO || PCMCIA || EXPERIMENTAL 7 + depends on NET_VENDOR_NATSEMI && (AMIGA_PCMCIA || PCI || SUPERH || \ 8 + ISA || MCA || EISA || MAC || M32R || MACH_TX49XX || \ 9 + MCA_LEGACY || H8300 || ARM || MIPS || ZORRO || PCMCIA || \ 10 + EXPERIMENTAL) 10 11 ---help--- 11 12 If you have a network (Ethernet) card belonging to this class, say Y 12 13 and read the Ethernet-HOWTO, available from
+2 -1
drivers/net/ethernet/Kconfig
··· 12 12 if ETHERNET 13 13 14 14 source "drivers/net/ethernet/3com/Kconfig" 15 - source "drivers/net/ethernet/8390/Kconfig" 16 15 source "drivers/net/ethernet/amd/Kconfig" 17 16 source "drivers/net/ethernet/apple/Kconfig" 18 17 source "drivers/net/ethernet/broadcom/Kconfig" ··· 25 26 source "drivers/net/ethernet/i825xx/Kconfig" 26 27 source "drivers/net/ethernet/mellanox/Kconfig" 27 28 source "drivers/net/ethernet/myricom/Kconfig" 29 + source "drivers/net/ethernet/natsemi/Kconfig" 30 + source "drivers/net/ethernet/8390/Kconfig" 28 31 source "drivers/net/ethernet/pasemi/Kconfig" 29 32 source "drivers/net/ethernet/qlogic/Kconfig" 30 33 source "drivers/net/ethernet/racal/Kconfig"
+1
drivers/net/ethernet/Makefile
··· 17 17 obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ 18 18 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 19 19 obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ 20 + obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ 20 21 obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ 21 22 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 22 23 obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
+82
drivers/net/ethernet/natsemi/Kconfig
··· 1 + # 2 + # National Semi-conductor device configuration 3 + # 4 + 5 + config NET_VENDOR_NATSEMI 6 + bool "National Semi-conductor devices" 7 + depends on MCA || MAC || MACH_JAZZ || PCI || XTENSA_PLATFORM_XT2000 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 National Semi-conductor devices. If you say Y, 16 + you will be asked for your specific card in the following questions. 17 + 18 + if NET_VENDOR_NATSEMI 19 + 20 + config IBMLANA 21 + tristate "IBM LAN Adapter/A support" 22 + depends on MCA 23 + ---help--- 24 + This is a Micro Channel Ethernet adapter. You need to set 25 + CONFIG_MCA to use this driver. It is both available as an in-kernel 26 + driver and as a module. 27 + 28 + To compile this driver as a module, choose M here. The only 29 + currently supported card is the IBM LAN Adapter/A for Ethernet. It 30 + will both support 16K and 32K memory windows, however a 32K window 31 + gives a better security against packet losses. Usage of multiple 32 + boards with this driver should be possible, but has not been tested 33 + up to now due to lack of hardware. 34 + 35 + config MACSONIC 36 + tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)" 37 + depends on MAC 38 + ---help--- 39 + Support for NatSemi SONIC based Ethernet devices. This includes 40 + the onboard Ethernet in many Quadras as well as some LC-PDS, 41 + a few Nubus and all known Comm Slot Ethernet cards. If you have 42 + one of these say Y and read the Ethernet-HOWTO, available from 43 + <http://www.tldp.org/docs.html#howto>. 44 + 45 + To compile this driver as a module, choose M here. This module will 46 + be called macsonic. 47 + 48 + config MIPS_JAZZ_SONIC 49 + tristate "MIPS JAZZ onboard SONIC Ethernet support" 50 + depends on MACH_JAZZ 51 + ---help--- 52 + This is the driver for the onboard card of MIPS Magnum 4000, 53 + Acer PICA, Olivetti M700-10 and a few other identical OEM systems. 54 + 55 + config NATSEMI 56 + tristate "National Semiconductor DP8381x series PCI Ethernet support" 57 + depends on PCI 58 + select CRC32 59 + ---help--- 60 + This driver is for the National Semiconductor DP83810 series, 61 + which is used in cards from PureData, NetGear, Linksys 62 + and others, including the 83815 chip. 63 + More specific information and updates are available from 64 + <http://www.scyld.com/network/natsemi.html>. 65 + 66 + config NS83820 67 + tristate "National Semiconductor DP83820 support" 68 + depends on PCI 69 + ---help--- 70 + This is a driver for the National Semiconductor DP83820 series 71 + of gigabit ethernet MACs. Cards using this chipset include 72 + the D-Link DGE-500T, PureData's PDP8023Z-TG, SMC's SMC9462TX, 73 + SOHO-GA2000T, SOHO-GA2500T. The driver supports the use of 74 + zero copy. 75 + 76 + config XTENSA_XT2000_SONIC 77 + tristate "Xtensa XT2000 onboard SONIC Ethernet support" 78 + depends on XTENSA_PLATFORM_XT2000 79 + ---help--- 80 + This is the driver for the onboard card of the Xtensa XT2000 board. 81 + 82 + endif # NET_VENDOR_NATSEMI
+10
drivers/net/ethernet/natsemi/Makefile
··· 1 + # 2 + # Makefile for the National Semi-conductor Sonic devices. 3 + # 4 + 5 + obj-$(CONFIG_IBMLANA) += ibmlana.o 6 + obj-$(CONFIG_MACSONIC) += macsonic.o 7 + obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o 8 + obj-$(CONFIG_NATSEMI) += natsemi.o 9 + obj-$(CONFIG_NS83820) += ns83820.o 10 + obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
drivers/net/ibmlana.c drivers/net/ethernet/natsemi/ibmlana.c
drivers/net/ibmlana.h drivers/net/ethernet/natsemi/ibmlana.h
drivers/net/jazzsonic.c drivers/net/ethernet/natsemi/jazzsonic.c
drivers/net/macsonic.c drivers/net/ethernet/natsemi/macsonic.c
drivers/net/natsemi.c drivers/net/ethernet/natsemi/natsemi.c
drivers/net/ns83820.c drivers/net/ethernet/natsemi/ns83820.c
drivers/net/sonic.c drivers/net/ethernet/natsemi/sonic.c
drivers/net/sonic.h drivers/net/ethernet/natsemi/sonic.h
drivers/net/xtsonic.c drivers/net/ethernet/natsemi/xtsonic.c