aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-18 08:14:22 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-11 19:29:21 -0400
commitd9fb9f384292d848ad9db386bcf97f1e06e60264 (patch)
tree128d65c7255f188ec7d4cea4fa637c700bcb5828 /drivers
parent8fb6b0908176704a3ea22005e8a9fa3ebf35b5be (diff)
*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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig62
-rw-r--r--drivers/net/Makefile7
-rw-r--r--drivers/net/ethernet/8390/Kconfig7
-rw-r--r--drivers/net/ethernet/Kconfig3
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/natsemi/Kconfig82
-rw-r--r--drivers/net/ethernet/natsemi/Makefile10
-rw-r--r--drivers/net/ethernet/natsemi/ibmlana.c (renamed from drivers/net/ibmlana.c)0
-rw-r--r--drivers/net/ethernet/natsemi/ibmlana.h (renamed from drivers/net/ibmlana.h)0
-rw-r--r--drivers/net/ethernet/natsemi/jazzsonic.c (renamed from drivers/net/jazzsonic.c)0
-rw-r--r--drivers/net/ethernet/natsemi/macsonic.c (renamed from drivers/net/macsonic.c)0
-rw-r--r--drivers/net/ethernet/natsemi/natsemi.c (renamed from drivers/net/natsemi.c)0
-rw-r--r--drivers/net/ethernet/natsemi/ns83820.c (renamed from drivers/net/ns83820.c)0
-rw-r--r--drivers/net/ethernet/natsemi/sonic.c (renamed from drivers/net/sonic.c)0
-rw-r--r--drivers/net/ethernet/natsemi/sonic.h (renamed from drivers/net/sonic.h)0
-rw-r--r--drivers/net/ethernet/natsemi/xtsonic.c (renamed from drivers/net/xtsonic.c)0
16 files changed, 99 insertions, 73 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d81f8f950124..8b1fae89898d 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -237,19 +237,6 @@ config MACB
237 237
238source "drivers/net/arm/Kconfig" 238source "drivers/net/arm/Kconfig"
239 239
240config 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
253config KORINA 240config KORINA
254 tristate "Korina (IDT RC32434) Ethernet support" 241 tristate "Korina (IDT RC32434) Ethernet support"
255 depends on NET_ETHERNET && MIKROTIK_RB532 242 depends on NET_ETHERNET && MIKROTIK_RB532
@@ -257,19 +244,6 @@ config KORINA
257 If you have a Mikrotik RouterBoard 500 or IDT RC32434 244 If you have a Mikrotik RouterBoard 500 or IDT RC32434
258 based system say Y. Otherwise say N. 245 based system say Y. Otherwise say N.
259 246
260config 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
267config 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
273config SGI_IOC3_ETH 247config SGI_IOC3_ETH
274 bool "SGI IOC3 Ethernet" 248 bool "SGI IOC3 Ethernet"
275 depends on PCI && SGI_IP27 249 depends on PCI && SGI_IP27
@@ -556,21 +530,6 @@ config SEEQ8005
556 To compile this driver as a module, choose M here. The module 530 To compile this driver as a module, choose M here. The module
557 will be called seeq8005. 531 will be called seeq8005.
558 532
559config IBMLANA
560 tristate "IBM LAN Adapter/A support"
561 depends on MCA
562 ---help---
563 This is a Micro Channel Ethernet adapter. You need to set
564 CONFIG_MCA to use this driver. It is both available as an in-kernel
565 driver and as a module.
566
567 To compile this driver as a module, choose M here. The only
568 currently supported card is the IBM LAN Adapter/A for Ethernet. It
569 will both support 16K and 32K memory windows, however a 32K window
570 gives a better security against packet losses. Usage of multiple
571 boards with this driver should be possible, but has not been tested
572 up to now due to lack of hardware.
573
574config NET_PCI 533config NET_PCI
575 bool "EISA, VLB, PCI and on board controllers" 534 bool "EISA, VLB, PCI and on board controllers"
576 depends on ISA || EISA || PCI 535 depends on ISA || EISA || PCI
@@ -635,17 +594,6 @@ config FEALNX
635 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
636 cards. <http://www.myson.com.tw/> 595 cards. <http://www.myson.com.tw/>
637 596
638config NATSEMI
639 tristate "National Semiconductor DP8381x series PCI Ethernet support"
640 depends on NET_PCI && PCI
641 select CRC32
642 help
643 This driver is for the National Semiconductor DP83810 series,
644 which is used in cards from PureData, NetGear, Linksys
645 and others, including the 83815 chip.
646 More specific information and updates are available from
647 <http://www.scyld.com/network/natsemi.html>.
648
649config 8139CP 597config 8139CP
650 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)" 598 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)"
651 depends on NET_PCI && PCI && EXPERIMENTAL 599 depends on NET_PCI && PCI && EXPERIMENTAL
@@ -1043,16 +991,6 @@ config IP1000
1043 991
1044source "drivers/net/ixp2000/Kconfig" 992source "drivers/net/ixp2000/Kconfig"
1045 993
1046config NS83820
1047 tristate "National Semiconductor DP83820 support"
1048 depends on PCI
1049 help
1050 This is a driver for the National Semiconductor DP83820 series
1051 of gigabit ethernet MACs. Cards using this chipset include
1052 the D-Link DGE-500T, PureData's PDP8023Z-TG, SMC's SMC9462TX,
1053 SOHO-GA2000T, SOHO-GA2500T. The driver supports the use of
1054 zero copy.
1055
1056config HAMACHI 994config HAMACHI
1057 tristate "Packet Engines Hamachi GNIC-II support" 995 tristate "Packet Engines Hamachi GNIC-II support"
1058 depends on PCI 996 depends on PCI
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 79f93f08c490..843edb3eded7 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -43,8 +43,6 @@ obj-$(CONFIG_SIS190) += sis190.o
43obj-$(CONFIG_SIS900) += sis900.o 43obj-$(CONFIG_SIS900) += sis900.o
44obj-$(CONFIG_R6040) += r6040.o 44obj-$(CONFIG_R6040) += r6040.o
45obj-$(CONFIG_YELLOWFIN) += yellowfin.o 45obj-$(CONFIG_YELLOWFIN) += yellowfin.o
46obj-$(CONFIG_NATSEMI) += natsemi.o
47obj-$(CONFIG_NS83820) += ns83820.o
48obj-$(CONFIG_FEALNX) += fealnx.o 46obj-$(CONFIG_FEALNX) += fealnx.o
49spidernet-y += spider_net.o spider_net_ethtool.o 47spidernet-y += spider_net.o spider_net_ethtool.o
50obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o 48obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o
@@ -116,7 +114,6 @@ obj-$(CONFIG_DEFXX) += defxx.o
116obj-$(CONFIG_SGISEEQ) += sgiseeq.o 114obj-$(CONFIG_SGISEEQ) += sgiseeq.o
117obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o 115obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o
118obj-$(CONFIG_AT1700) += at1700.o 116obj-$(CONFIG_AT1700) += at1700.o
119obj-$(CONFIG_IBMLANA) += ibmlana.o
120obj-$(CONFIG_8139CP) += 8139cp.o 117obj-$(CONFIG_8139CP) += 8139cp.o
121obj-$(CONFIG_8139TOO) += 8139too.o 118obj-$(CONFIG_8139TOO) += 8139too.o
122obj-$(CONFIG_CPMAC) += cpmac.o 119obj-$(CONFIG_CPMAC) += cpmac.o
@@ -127,10 +124,8 @@ obj-$(CONFIG_SC92031) += sc92031.o
127obj-$(CONFIG_ETH16I) += eth16i.o 124obj-$(CONFIG_ETH16I) += eth16i.o
128obj-$(CONFIG_EQUALIZER) += eql.o 125obj-$(CONFIG_EQUALIZER) += eql.o
129obj-$(CONFIG_KORINA) += korina.o 126obj-$(CONFIG_KORINA) += korina.o
130obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
131obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o 127obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o
132obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o 128obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
133obj-$(CONFIG_MACSONIC) += macsonic.o
134obj-$(CONFIG_TUN) += tun.o 129obj-$(CONFIG_TUN) += tun.o
135obj-$(CONFIG_VETH) += veth.o 130obj-$(CONFIG_VETH) += veth.o
136obj-$(CONFIG_NET_NETX) += netx-eth.o 131obj-$(CONFIG_NET_NETX) += netx-eth.o
@@ -144,8 +139,6 @@ obj-$(CONFIG_ETHOC) += ethoc.o
144obj-$(CONFIG_GRETH) += greth.o 139obj-$(CONFIG_GRETH) += greth.o
145obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o 140obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o
146 141
147obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
148
149obj-$(CONFIG_DNET) += dnet.o 142obj-$(CONFIG_DNET) += dnet.o
150obj-$(CONFIG_MACB) += macb.o 143obj-$(CONFIG_MACB) += macb.o
151obj-$(CONFIG_S6GMAC) += s6gmac.o 144obj-$(CONFIG_S6GMAC) += s6gmac.o
diff --git a/drivers/net/ethernet/8390/Kconfig b/drivers/net/ethernet/8390/Kconfig
index f1b9bddc1550..5d2169809b19 100644
--- a/drivers/net/ethernet/8390/Kconfig
+++ b/drivers/net/ethernet/8390/Kconfig
@@ -4,9 +4,10 @@
4 4
5config NET_VENDOR_8390 5config NET_VENDOR_8390
6 bool "National Semi-conductor 8390 devices" 6 bool "National Semi-conductor 8390 devices"
7 depends on AMIGA_PCMCIA || PCI || SUPERH || ISA || MCA || EISA || \ 7 depends on NET_VENDOR_NATSEMI && (AMIGA_PCMCIA || PCI || SUPERH || \
8 MAC || M32R || MACH_TX49XX || MCA_LEGACY || H8300 || \ 8 ISA || MCA || EISA || MAC || M32R || MACH_TX49XX || \
9 ARM || MIPS || ZORRO || PCMCIA || EXPERIMENTAL 9 MCA_LEGACY || H8300 || ARM || MIPS || ZORRO || PCMCIA || \
10 EXPERIMENTAL)
10 ---help--- 11 ---help---
11 If you have a network (Ethernet) card belonging to this class, say Y 12 If you have a network (Ethernet) card belonging to this class, say Y
12 and read the Ethernet-HOWTO, available from 13 and read the Ethernet-HOWTO, available from
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index c3c415d853b7..efc36651a2b9 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -12,7 +12,6 @@ menuconfig ETHERNET
12if ETHERNET 12if ETHERNET
13 13
14source "drivers/net/ethernet/3com/Kconfig" 14source "drivers/net/ethernet/3com/Kconfig"
15source "drivers/net/ethernet/8390/Kconfig"
16source "drivers/net/ethernet/amd/Kconfig" 15source "drivers/net/ethernet/amd/Kconfig"
17source "drivers/net/ethernet/apple/Kconfig" 16source "drivers/net/ethernet/apple/Kconfig"
18source "drivers/net/ethernet/broadcom/Kconfig" 17source "drivers/net/ethernet/broadcom/Kconfig"
@@ -26,6 +25,8 @@ source "drivers/net/ethernet/intel/Kconfig"
26source "drivers/net/ethernet/i825xx/Kconfig" 25source "drivers/net/ethernet/i825xx/Kconfig"
27source "drivers/net/ethernet/mellanox/Kconfig" 26source "drivers/net/ethernet/mellanox/Kconfig"
28source "drivers/net/ethernet/myricom/Kconfig" 27source "drivers/net/ethernet/myricom/Kconfig"
28source "drivers/net/ethernet/natsemi/Kconfig"
29source "drivers/net/ethernet/8390/Kconfig"
29source "drivers/net/ethernet/pasemi/Kconfig" 30source "drivers/net/ethernet/pasemi/Kconfig"
30source "drivers/net/ethernet/qlogic/Kconfig" 31source "drivers/net/ethernet/qlogic/Kconfig"
31source "drivers/net/ethernet/racal/Kconfig" 32source "drivers/net/ethernet/racal/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index b67b88d5afd9..668ca92b4863 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -17,6 +17,7 @@ obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
17obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ 17obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
18obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 18obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
19obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ 19obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
20obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
20obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ 21obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
21obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 22obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
22obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 23obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
diff --git a/drivers/net/ethernet/natsemi/Kconfig b/drivers/net/ethernet/natsemi/Kconfig
new file mode 100644
index 000000000000..1e5c1e1ec79a
--- /dev/null
+++ b/drivers/net/ethernet/natsemi/Kconfig
@@ -0,0 +1,82 @@
1#
2# National Semi-conductor device configuration
3#
4
5config 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
18if NET_VENDOR_NATSEMI
19
20config 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
35config 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
48config 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
55config 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
66config 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
76config 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
82endif # NET_VENDOR_NATSEMI
diff --git a/drivers/net/ethernet/natsemi/Makefile b/drivers/net/ethernet/natsemi/Makefile
new file mode 100644
index 000000000000..9aa5dea52b3e
--- /dev/null
+++ b/drivers/net/ethernet/natsemi/Makefile
@@ -0,0 +1,10 @@
1#
2# Makefile for the National Semi-conductor Sonic devices.
3#
4
5obj-$(CONFIG_IBMLANA) += ibmlana.o
6obj-$(CONFIG_MACSONIC) += macsonic.o
7obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
8obj-$(CONFIG_NATSEMI) += natsemi.o
9obj-$(CONFIG_NS83820) += ns83820.o
10obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
diff --git a/drivers/net/ibmlana.c b/drivers/net/ethernet/natsemi/ibmlana.c
index a7d6cad32953..a7d6cad32953 100644
--- a/drivers/net/ibmlana.c
+++ b/drivers/net/ethernet/natsemi/ibmlana.c
diff --git a/drivers/net/ibmlana.h b/drivers/net/ethernet/natsemi/ibmlana.h
index accd5efc9c8a..accd5efc9c8a 100644
--- a/drivers/net/ibmlana.h
+++ b/drivers/net/ethernet/natsemi/ibmlana.h
diff --git a/drivers/net/jazzsonic.c b/drivers/net/ethernet/natsemi/jazzsonic.c
index 949c1f933644..949c1f933644 100644
--- a/drivers/net/jazzsonic.c
+++ b/drivers/net/ethernet/natsemi/jazzsonic.c
diff --git a/drivers/net/macsonic.c b/drivers/net/ethernet/natsemi/macsonic.c
index c93679ee6994..c93679ee6994 100644
--- a/drivers/net/macsonic.c
+++ b/drivers/net/ethernet/natsemi/macsonic.c
diff --git a/drivers/net/natsemi.c b/drivers/net/ethernet/natsemi/natsemi.c
index 2962cc695ce3..2962cc695ce3 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/ethernet/natsemi/natsemi.c
diff --git a/drivers/net/ns83820.c b/drivers/net/ethernet/natsemi/ns83820.c
index e736aec588fc..e736aec588fc 100644
--- a/drivers/net/ns83820.c
+++ b/drivers/net/ethernet/natsemi/ns83820.c
diff --git a/drivers/net/sonic.c b/drivers/net/ethernet/natsemi/sonic.c
index 26e25d7f5829..26e25d7f5829 100644
--- a/drivers/net/sonic.c
+++ b/drivers/net/ethernet/natsemi/sonic.c
diff --git a/drivers/net/sonic.h b/drivers/net/ethernet/natsemi/sonic.h
index 07091dd27e5d..07091dd27e5d 100644
--- a/drivers/net/sonic.h
+++ b/drivers/net/ethernet/natsemi/sonic.h
diff --git a/drivers/net/xtsonic.c b/drivers/net/ethernet/natsemi/xtsonic.c
index 9f12026d98e7..9f12026d98e7 100644
--- a/drivers/net/xtsonic.c
+++ b/drivers/net/ethernet/natsemi/xtsonic.c