aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig35
-rw-r--r--drivers/net/Makefile4
-rw-r--r--drivers/net/arm/Kconfig8
-rw-r--r--drivers/net/arm/Makefile1
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/micrel/Kconfig64
-rw-r--r--drivers/net/ethernet/micrel/Makefile9
-rw-r--r--drivers/net/ethernet/micrel/ks8695net.c (renamed from drivers/net/arm/ks8695net.c)0
-rw-r--r--drivers/net/ethernet/micrel/ks8695net.h (renamed from drivers/net/arm/ks8695net.h)0
-rw-r--r--drivers/net/ethernet/micrel/ks8842.c (renamed from drivers/net/ks8842.c)0
-rw-r--r--drivers/net/ethernet/micrel/ks8851.c (renamed from drivers/net/ks8851.c)0
-rw-r--r--drivers/net/ethernet/micrel/ks8851.h (renamed from drivers/net/ks8851.h)0
-rw-r--r--drivers/net/ethernet/micrel/ks8851_mll.c (renamed from drivers/net/ks8851_mll.c)0
-rw-r--r--drivers/net/ethernet/micrel/ksz884x.c (renamed from drivers/net/ksz884x.c)0
15 files changed, 75 insertions, 48 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index b645a73fd212..a6edd3546fe9 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -467,17 +467,6 @@ config ADAPTEC_STARFIRE
467 To compile this driver as a module, choose M here: the module 467 To compile this driver as a module, choose M here: the module
468 will be called starfire. This is recommended. 468 will be called starfire. This is recommended.
469 469
470config KSZ884X_PCI
471 tristate "Micrel KSZ8841/2 PCI"
472 depends on NET_PCI && PCI
473 select MII
474 select CRC32
475 help
476 This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
477
478 To compile this driver as a module, choose M here. The module
479 will be called ksz884x.
480
481config FORCEDETH 470config FORCEDETH
482 tristate "nForce Ethernet support" 471 tristate "nForce Ethernet support"
483 depends on NET_PCI && PCI 472 depends on NET_PCI && PCI
@@ -550,30 +539,6 @@ config TLAN
550 539
551 Please email feedback to <torben.mathiasen@compaq.com>. 540 Please email feedback to <torben.mathiasen@compaq.com>.
552 541
553config KS8842
554 tristate "Micrel KSZ8841/42 with generic bus interface"
555 depends on HAS_IOMEM && DMA_ENGINE
556 help
557 This platform driver is for KSZ8841(1-port) / KS8842(2-port)
558 ethernet switch chip (managed, VLAN, QoS) from Micrel or
559 Timberdale(FPGA).
560
561config KS8851
562 tristate "Micrel KS8851 SPI"
563 depends on SPI
564 select MII
565 select CRC32
566 help
567 SPI driver for Micrel KS8851 SPI attached network chip.
568
569config KS8851_MLL
570 tristate "Micrel KS8851 MLL"
571 depends on HAS_IOMEM
572 select MII
573 help
574 This platform driver is for Micrel KS8851 Address/data bus
575 multiplexed network chip.
576
577config CPMAC 542config CPMAC
578 tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)" 543 tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)"
579 depends on NET_ETHERNET && EXPERIMENTAL && AR7 544 depends on NET_ETHERNET && EXPERIMENTAL && AR7
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 39fe73033a02..e448e6ed5918 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -36,10 +36,6 @@ gelic_wireless-$(CONFIG_GELIC_WIRELESS) += ps3_gelic_wireless.o
36ps3_gelic-objs += ps3_gelic_net.o $(gelic_wireless-y) 36ps3_gelic-objs += ps3_gelic_net.o $(gelic_wireless-y)
37obj-$(CONFIG_TC35815) += tc35815.o 37obj-$(CONFIG_TC35815) += tc35815.o
38obj-$(CONFIG_SKFP) += skfp/ 38obj-$(CONFIG_SKFP) += skfp/
39obj-$(CONFIG_KS8842) += ks8842.o
40obj-$(CONFIG_KS8851) += ks8851.o
41obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
42obj-$(CONFIG_KSZ884X_PCI) += ksz884x.o
43obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o 39obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
44obj-$(CONFIG_RIONET) += rionet.o 40obj-$(CONFIG_RIONET) += rionet.o
45obj-$(CONFIG_SH_ETH) += sh_eth.o 41obj-$(CONFIG_SH_ETH) += sh_eth.o
diff --git a/drivers/net/arm/Kconfig b/drivers/net/arm/Kconfig
index b6f7302ccc64..4f748ccdefe2 100644
--- a/drivers/net/arm/Kconfig
+++ b/drivers/net/arm/Kconfig
@@ -11,14 +11,6 @@ config ARM_AT91_ETHER
11 If you wish to compile a kernel for the AT91RM9200 and enable 11 If you wish to compile a kernel for the AT91RM9200 and enable
12 ethernet support, then you should always answer Y to this. 12 ethernet support, then you should always answer Y to this.
13 13
14config ARM_KS8695_ETHER
15 tristate "KS8695 Ethernet support"
16 depends on ARM && ARCH_KS8695
17 select MII
18 help
19 If you wish to compile a kernel for the KS8695 and want to
20 use the internal ethernet then you should answer Y to this.
21
22config EP93XX_ETH 14config EP93XX_ETH
23 tristate "EP93xx Ethernet support" 15 tristate "EP93xx Ethernet support"
24 depends on ARM && ARCH_EP93XX 16 depends on ARM && ARCH_EP93XX
diff --git a/drivers/net/arm/Makefile b/drivers/net/arm/Makefile
index a2532e6d7df5..316b06c94af5 100644
--- a/drivers/net/arm/Makefile
+++ b/drivers/net/arm/Makefile
@@ -4,6 +4,5 @@
4# 4#
5 5
6obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o 6obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o
7obj-$(CONFIG_ARM_KS8695_ETHER) += ks8695net.o
8obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o 7obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o
9obj-$(CONFIG_W90P910_ETH) += w90p910_ether.o 8obj-$(CONFIG_W90P910_ETH) += w90p910_ether.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 924c287aaaa9..d90f47f3b782 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -32,6 +32,7 @@ source "drivers/net/ethernet/i825xx/Kconfig"
32source "drivers/net/ethernet/xscale/Kconfig" 32source "drivers/net/ethernet/xscale/Kconfig"
33source "drivers/net/ethernet/marvell/Kconfig" 33source "drivers/net/ethernet/marvell/Kconfig"
34source "drivers/net/ethernet/mellanox/Kconfig" 34source "drivers/net/ethernet/mellanox/Kconfig"
35source "drivers/net/ethernet/micrel/Kconfig"
35source "drivers/net/ethernet/myricom/Kconfig" 36source "drivers/net/ethernet/myricom/Kconfig"
36source "drivers/net/ethernet/natsemi/Kconfig" 37source "drivers/net/ethernet/natsemi/Kconfig"
37source "drivers/net/ethernet/8390/Kconfig" 38source "drivers/net/ethernet/8390/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 025d7b763b91..cf27ae0eb3ec 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -24,6 +24,7 @@ obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
24obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/ 24obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/
25obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/ 25obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
26obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 26obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
27obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
27obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ 28obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
28obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ 29obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
29obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/ 30obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/
diff --git a/drivers/net/ethernet/micrel/Kconfig b/drivers/net/ethernet/micrel/Kconfig
new file mode 100644
index 000000000000..4227de6d11f2
--- /dev/null
+++ b/drivers/net/ethernet/micrel/Kconfig
@@ -0,0 +1,64 @@
1#
2# Micrel device configuration
3#
4
5config NET_VENDOR_MICREL
6 bool "Micrel devices"
7 depends on (HAS_IOMEM && DMA_ENGINE) || SPI || PCI || HAS_IOMEM || \
8 (ARM && ARCH_KS8695)
9 ---help---
10 If you have a network (Ethernet) card belonging to this class, say Y
11 and read the Ethernet-HOWTO, available from
12 <http://www.tldp.org/docs.html#howto>.
13
14 Note that the answer to this question doesn't directly affect the
15 kernel: saying N will just cause the configurator to skip all
16 the questions about Micrel devices. If you say Y, you will be asked
17 for your specific card in the following questions.
18
19if NET_VENDOR_MICREL
20
21config ARM_KS8695_ETHER
22 tristate "KS8695 Ethernet support"
23 depends on ARM && ARCH_KS8695
24 select MII
25 ---help---
26 If you wish to compile a kernel for the KS8695 and want to
27 use the internal ethernet then you should answer Y to this.
28
29config KS8842
30 tristate "Micrel KSZ8841/42 with generic bus interface"
31 depends on HAS_IOMEM && DMA_ENGINE
32 ---help---
33 This platform driver is for KSZ8841(1-port) / KS8842(2-port)
34 ethernet switch chip (managed, VLAN, QoS) from Micrel or
35 Timberdale(FPGA).
36
37config KS8851
38 tristate "Micrel KS8851 SPI"
39 depends on SPI
40 select MII
41 select CRC32
42 ---help---
43 SPI driver for Micrel KS8851 SPI attached network chip.
44
45config KS8851_MLL
46 tristate "Micrel KS8851 MLL"
47 depends on HAS_IOMEM
48 select MII
49 ---help---
50 This platform driver is for Micrel KS8851 Address/data bus
51 multiplexed network chip.
52
53config KSZ884X_PCI
54 tristate "Micrel KSZ8841/2 PCI"
55 depends on PCI
56 select MII
57 select CRC32
58 ---help---
59 This PCI driver is for Micrel KSZ8841/KSZ8842 PCI Ethernet chip.
60
61 To compile this driver as a module, choose M here. The module
62 will be called ksz884x.
63
64endif # NET_VENDOR_MICREL
diff --git a/drivers/net/ethernet/micrel/Makefile b/drivers/net/ethernet/micrel/Makefile
new file mode 100644
index 000000000000..c83e4bc50c73
--- /dev/null
+++ b/drivers/net/ethernet/micrel/Makefile
@@ -0,0 +1,9 @@
1#
2# Makefile for the Micrel network device drivers.
3#
4
5obj-$(CONFIG_ARM_KS8695_ETHER) += ks8695net.o
6obj-$(CONFIG_KS8842) += ks8842.o
7obj-$(CONFIG_KS8851) += ks8851.o
8obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
9obj-$(CONFIG_KSZ884X_PCI) += ksz884x.o
diff --git a/drivers/net/arm/ks8695net.c b/drivers/net/ethernet/micrel/ks8695net.c
index c827a6097d02..c827a6097d02 100644
--- a/drivers/net/arm/ks8695net.c
+++ b/drivers/net/ethernet/micrel/ks8695net.c
diff --git a/drivers/net/arm/ks8695net.h b/drivers/net/ethernet/micrel/ks8695net.h
index 80eff6ea5163..80eff6ea5163 100644
--- a/drivers/net/arm/ks8695net.h
+++ b/drivers/net/ethernet/micrel/ks8695net.h
diff --git a/drivers/net/ks8842.c b/drivers/net/ethernet/micrel/ks8842.c
index 4a6ae057e3b1..4a6ae057e3b1 100644
--- a/drivers/net/ks8842.c
+++ b/drivers/net/ethernet/micrel/ks8842.c
diff --git a/drivers/net/ks8851.c b/drivers/net/ethernet/micrel/ks8851.c
index f56743a28fc0..f56743a28fc0 100644
--- a/drivers/net/ks8851.c
+++ b/drivers/net/ethernet/micrel/ks8851.c
diff --git a/drivers/net/ks8851.h b/drivers/net/ethernet/micrel/ks8851.h
index 537fb06e5932..537fb06e5932 100644
--- a/drivers/net/ks8851.h
+++ b/drivers/net/ethernet/micrel/ks8851.h
diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ethernet/micrel/ks8851_mll.c
index d19c849059d8..d19c849059d8 100644
--- a/drivers/net/ks8851_mll.c
+++ b/drivers/net/ethernet/micrel/ks8851_mll.c
diff --git a/drivers/net/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c
index 27418d31a09f..27418d31a09f 100644
--- a/drivers/net/ksz884x.c
+++ b/drivers/net/ethernet/micrel/ksz884x.c