aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-07-24 02:52:55 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 15:38:52 -0400
commit69b4b0952b7ef0bf9048723aa8f4ec3fd47d1fc9 (patch)
tree226427069cf8321bedc4c27f18a1706f7c99c275
parent15c037d6423eefb0fc2763f875dbacb71109d603 (diff)
forcedeth: Move the NVIDIA nForce driver
Move the nForce driver into drivers/net/ethernet/nvidia/ and make the necessary Kconfig and Makefile changes. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/Kconfig11
-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/nvidia/Kconfig31
-rw-r--r--drivers/net/ethernet/nvidia/Makefile5
-rw-r--r--drivers/net/ethernet/nvidia/forcedeth.c (renamed from drivers/net/forcedeth.c)0
7 files changed, 38 insertions, 12 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 754ddd298f3a..c7953adc290d 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -359,17 +359,6 @@ config ADAPTEC_STARFIRE
359 To compile this driver as a module, choose M here: the module 359 To compile this driver as a module, choose M here: the module
360 will be called starfire. This is recommended. 360 will be called starfire. This is recommended.
361 361
362config FORCEDETH
363 tristate "nForce Ethernet support"
364 depends on NET_PCI && PCI
365 help
366 If you have a network (Ethernet) controller of this type, say Y and
367 read the Ethernet-HOWTO, available from
368 <http://www.tldp.org/docs.html#howto>.
369
370 To compile this driver as a module, choose M here. The module
371 will be called forcedeth.
372
373config NET_POCKET 362config NET_POCKET
374 bool "Pocket and portable adapters" 363 bool "Pocket and portable adapters"
375 depends on PARPORT 364 depends on PARPORT
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index e11166a6b7c9..4d5af1590576 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -28,7 +28,6 @@ obj-$(CONFIG_SH_ETH) += sh_eth.o
28obj-$(CONFIG_NET) += Space.o loopback.o 28obj-$(CONFIG_NET) += Space.o loopback.o
29obj-$(CONFIG_NET_SB1000) += sb1000.o 29obj-$(CONFIG_NET_SB1000) += sb1000.o
30obj-$(CONFIG_HP100) += hp100.o 30obj-$(CONFIG_HP100) += hp100.o
31obj-$(CONFIG_FORCEDETH) += forcedeth.o
32 31
33obj-$(CONFIG_PPP) += ppp_generic.o 32obj-$(CONFIG_PPP) += ppp_generic.o
34obj-$(CONFIG_PPP_ASYNC) += ppp_async.o 33obj-$(CONFIG_PPP_ASYNC) += ppp_async.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 711297f33087..1de8edcdef4b 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -86,6 +86,7 @@ config FEALNX
86source "drivers/net/ethernet/natsemi/Kconfig" 86source "drivers/net/ethernet/natsemi/Kconfig"
87source "drivers/net/ethernet/8390/Kconfig" 87source "drivers/net/ethernet/8390/Kconfig"
88source "drivers/net/ethernet/nuvoton/Kconfig" 88source "drivers/net/ethernet/nuvoton/Kconfig"
89source "drivers/net/ethernet/nvidia/Kconfig"
89source "drivers/net/ethernet/octeon/Kconfig" 90source "drivers/net/ethernet/octeon/Kconfig"
90source "drivers/net/ethernet/oki-semi/Kconfig" 91source "drivers/net/ethernet/oki-semi/Kconfig"
91source "drivers/net/ethernet/packetengines/Kconfig" 92source "drivers/net/ethernet/packetengines/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index e30dde4390db..3d5ed1fef54a 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -37,6 +37,7 @@ obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
37obj-$(CONFIG_FEALNX) += fealnx.o 37obj-$(CONFIG_FEALNX) += fealnx.o
38obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ 38obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
39obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/ 39obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/
40obj-$(CONFIG_NET_VENDOR_NVIDIA) += nvidia/
40obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/ 41obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/
41obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/ 42obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/
42obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/ 43obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/
diff --git a/drivers/net/ethernet/nvidia/Kconfig b/drivers/net/ethernet/nvidia/Kconfig
new file mode 100644
index 000000000000..0a18e7314195
--- /dev/null
+++ b/drivers/net/ethernet/nvidia/Kconfig
@@ -0,0 +1,31 @@
1#
2# NVIDIA network device configuration
3#
4
5config NET_VENDOR_NVIDIA
6 bool "NVIDIA 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 NVIDIA cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_NVIDIA
19
20config FORCEDETH
21 tristate "nForce Ethernet support"
22 depends on PCI
23 ---help---
24 If you have a network (Ethernet) controller of this type, say Y and
25 read the Ethernet-HOWTO, available from
26 <http://www.tldp.org/docs.html#howto>.
27
28 To compile this driver as a module, choose M here. The module
29 will be called forcedeth.
30
31endif # NET_VENDOR_NVIDIA
diff --git a/drivers/net/ethernet/nvidia/Makefile b/drivers/net/ethernet/nvidia/Makefile
new file mode 100644
index 000000000000..e079ae5771d5
--- /dev/null
+++ b/drivers/net/ethernet/nvidia/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the NVIDIA network device drivers.
3#
4
5obj-$(CONFIG_FORCEDETH) += forcedeth.o
diff --git a/drivers/net/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index e55df308a3af..e55df308a3af 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/ethernet/nvidia/forcedeth.c