aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-07-24 02:26:01 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 15:38:34 -0400
commit58565a35eab01eb5fba928af23d31a636d03a056 (patch)
treedda6047a09182bc4ac866a82e2303501496ff6a9
parent9f2f381f813858755f5b6ef7af316feda0726ef3 (diff)
r6040: Move the RDC driver
Move the RDC driver into drivers/net/ethernet/rdc/ and make the necessary Kconfig and Makefile changes. CC: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--MAINTAINERS2
-rw-r--r--drivers/net/Kconfig13
-rw-r--r--drivers/net/Makefile1
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/rdc/Kconfig33
-rw-r--r--drivers/net/ethernet/rdc/Makefile5
-rw-r--r--drivers/net/ethernet/rdc/r6040.c (renamed from drivers/net/r6040.c)0
8 files changed, 41 insertions, 15 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index ae60f8c7c65d..ca3ec84c4f2c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5343,7 +5343,7 @@ RDC R6040 FAST ETHERNET DRIVER
5343M: Florian Fainelli <florian@openwrt.org> 5343M: Florian Fainelli <florian@openwrt.org>
5344L: netdev@vger.kernel.org 5344L: netdev@vger.kernel.org
5345S: Maintained 5345S: Maintained
5346F: drivers/net/r6040.c 5346F: drivers/net/ethernet/rdc/r6040.c
5347 5347
5348RDS - RELIABLE DATAGRAM SOCKETS 5348RDS - RELIABLE DATAGRAM SOCKETS
5349M: Andy Grover <andy.grover@oracle.com> 5349M: Andy Grover <andy.grover@oracle.com>
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 3f6622c3f806..ca3afb530eec 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -379,19 +379,6 @@ config FEALNX
379 Say Y here to support the Myson MTD-800 family of PCI-based Ethernet 379 Say Y here to support the Myson MTD-800 family of PCI-based Ethernet
380 cards. <http://www.myson.com.tw/> 380 cards. <http://www.myson.com.tw/>
381 381
382config R6040
383 tristate "RDC R6040 Fast Ethernet Adapter support"
384 depends on NET_PCI && PCI
385 select CRC32
386 select MII
387 select PHYLIB
388 help
389 This is a driver for the R6040 Fast Ethernet MACs found in the
390 the RDC R-321x System-on-chips.
391
392 To compile this driver as a module, choose M here: the module
393 will be called r6040. This is recommended.
394
395config NET_POCKET 382config NET_POCKET
396 bool "Pocket and portable adapters" 383 bool "Pocket and portable adapters"
397 depends on PARPORT 384 depends on PARPORT
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index d7873bad9ddd..051439fc433a 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -16,7 +16,6 @@ obj-$(CONFIG_PLIP) += plip.o
16 16
17obj-$(CONFIG_ROADRUNNER) += rrunner.o 17obj-$(CONFIG_ROADRUNNER) += rrunner.o
18 18
19obj-$(CONFIG_R6040) += r6040.o
20obj-$(CONFIG_FEALNX) += fealnx.o 19obj-$(CONFIG_FEALNX) += fealnx.o
21obj-$(CONFIG_SKFP) += skfp/ 20obj-$(CONFIG_SKFP) += skfp/
22obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o 21obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 68a31b9d7acc..78e567ff5a74 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -83,6 +83,7 @@ source "drivers/net/ethernet/pasemi/Kconfig"
83source "drivers/net/ethernet/qlogic/Kconfig" 83source "drivers/net/ethernet/qlogic/Kconfig"
84source "drivers/net/ethernet/racal/Kconfig" 84source "drivers/net/ethernet/racal/Kconfig"
85source "drivers/net/ethernet/realtek/Kconfig" 85source "drivers/net/ethernet/realtek/Kconfig"
86source "drivers/net/ethernet/rdc/Kconfig"
86 87
87config S6GMAC 88config S6GMAC
88 tristate "S6105 GMAC ethernet support" 89 tristate "S6105 GMAC ethernet support"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 0e91c4db9117..48d32095f9af 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -43,6 +43,7 @@ obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
43obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 43obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
44obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 44obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
45obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ 45obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
46obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
46obj-$(CONFIG_S6GMAC) += s6gmac.o 47obj-$(CONFIG_S6GMAC) += s6gmac.o
47obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ 48obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/
48obj-$(CONFIG_NET_VENDOR_SIS) += sis/ 49obj-$(CONFIG_NET_VENDOR_SIS) += sis/
diff --git a/drivers/net/ethernet/rdc/Kconfig b/drivers/net/ethernet/rdc/Kconfig
new file mode 100644
index 000000000000..b15ebac75f51
--- /dev/null
+++ b/drivers/net/ethernet/rdc/Kconfig
@@ -0,0 +1,33 @@
1#
2# RDC network device configuration
3#
4
5config NET_VENDOR_RDC
6 bool "RDC devices"
7 depends on PCI
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 RDC cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_RDC
19
20config R6040
21 tristate "RDC R6040 Fast Ethernet Adapter support"
22 depends on PCI
23 select CRC32
24 select MII
25 select PHYLIB
26 ---help---
27 This is a driver for the R6040 Fast Ethernet MACs found in the
28 the RDC R-321x System-on-chips.
29
30 To compile this driver as a module, choose M here: the module
31 will be called r6040. This is recommended.
32
33endif # NET_VENDOR_RDC
diff --git a/drivers/net/ethernet/rdc/Makefile b/drivers/net/ethernet/rdc/Makefile
new file mode 100644
index 000000000000..8d51fd2d07fc
--- /dev/null
+++ b/drivers/net/ethernet/rdc/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the RDC network device drivers.
3#
4
5obj-$(CONFIG_R6040) += r6040.o
diff --git a/drivers/net/r6040.c b/drivers/net/ethernet/rdc/r6040.c
index b64fcee483aa..b64fcee483aa 100644
--- a/drivers/net/r6040.c
+++ b/drivers/net/ethernet/rdc/r6040.c