aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-13 03:37:27 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-11 05:33:55 -0400
commit9aebddd11be42366f89b0296590770c02797aa98 (patch)
treebca16cd2c06a513096e930ab6337bd6f9d9ac674
parent874aeea5d01cac55c160a4e503e3ddb4db030de7 (diff)
be2net: Move the Emulex driver
Moves the Emulex driver into drivers/net/ethernet/emulex/ and make the necessary Kconfig and Makefile changes. CC: Sathya Perla <sathya.perla@emulex.com> CC: Subbu Seetharaman <subbu.seetharaman@emulex.com> CC: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--MAINTAINERS2
-rw-r--r--drivers/net/Kconfig2
-rw-r--r--drivers/net/Makefile1
-rw-r--r--drivers/net/benet/Kconfig6
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/emulex/Kconfig22
-rw-r--r--drivers/net/ethernet/emulex/Makefile5
-rw-r--r--drivers/net/ethernet/emulex/benet/Kconfig6
-rw-r--r--drivers/net/ethernet/emulex/benet/Makefile (renamed from drivers/net/benet/Makefile)0
-rw-r--r--drivers/net/ethernet/emulex/benet/be.h (renamed from drivers/net/benet/be.h)0
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.c (renamed from drivers/net/benet/be_cmds.c)0
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.h (renamed from drivers/net/benet/be_cmds.h)0
-rw-r--r--drivers/net/ethernet/emulex/benet/be_ethtool.c (renamed from drivers/net/benet/be_ethtool.c)0
-rw-r--r--drivers/net/ethernet/emulex/benet/be_hw.h (renamed from drivers/net/benet/be_hw.h)0
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c (renamed from drivers/net/benet/be_main.c)0
16 files changed, 36 insertions, 10 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 5a4c8758973e..7e51969ee05b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5746,7 +5746,7 @@ M: Ajit Khaparde <ajit.khaparde@emulex.com>
5746L: netdev@vger.kernel.org 5746L: netdev@vger.kernel.org
5747W: http://www.emulex.com 5747W: http://www.emulex.com
5748S: Supported 5748S: Supported
5749F: drivers/net/benet/ 5749F: drivers/net/ethernet/emulex/benet/
5750 5750
5751SFC NETWORK DRIVER 5751SFC NETWORK DRIVER
5752M: Solarflare linux maintainers <linux-net-drivers@solarflare.com> 5752M: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index fe227123a5f6..db03c21af203 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -1598,8 +1598,6 @@ config BNA
1598 1598
1599 <http://support.brocade.com> 1599 <http://support.brocade.com>
1600 1600
1601source "drivers/net/benet/Kconfig"
1602
1603endif # NETDEV_10000 1601endif # NETDEV_10000
1604 1602
1605source "drivers/net/tokenring/Kconfig" 1603source "drivers/net/tokenring/Kconfig"
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index faf306865cbd..39b04e071af0 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -24,7 +24,6 @@ obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o
24obj-$(CONFIG_TEHUTI) += tehuti.o 24obj-$(CONFIG_TEHUTI) += tehuti.o
25obj-$(CONFIG_ENIC) += enic/ 25obj-$(CONFIG_ENIC) += enic/
26obj-$(CONFIG_JME) += jme.o 26obj-$(CONFIG_JME) += jme.o
27obj-$(CONFIG_BE2NET) += benet/
28obj-$(CONFIG_VMXNET3) += vmxnet3/ 27obj-$(CONFIG_VMXNET3) += vmxnet3/
29obj-$(CONFIG_BNA) += bna/ 28obj-$(CONFIG_BNA) += bna/
30 29
diff --git a/drivers/net/benet/Kconfig b/drivers/net/benet/Kconfig
deleted file mode 100644
index 1a41a49bb619..000000000000
--- a/drivers/net/benet/Kconfig
+++ /dev/null
@@ -1,6 +0,0 @@
1config BE2NET
2 tristate "ServerEngines' 10Gbps NIC - BladeEngine"
3 depends on PCI && INET
4 help
5 This driver implements the NIC functionality for ServerEngines'
6 10Gbps network adapter - BladeEngine.
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 0bc6635b071b..9c003f363a9d 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -16,6 +16,7 @@ source "drivers/net/ethernet/8390/Kconfig"
16source "drivers/net/ethernet/amd/Kconfig" 16source "drivers/net/ethernet/amd/Kconfig"
17source "drivers/net/ethernet/broadcom/Kconfig" 17source "drivers/net/ethernet/broadcom/Kconfig"
18source "drivers/net/ethernet/chelsio/Kconfig" 18source "drivers/net/ethernet/chelsio/Kconfig"
19source "drivers/net/ethernet/emulex/Kconfig"
19source "drivers/net/ethernet/intel/Kconfig" 20source "drivers/net/ethernet/intel/Kconfig"
20source "drivers/net/ethernet/i825xx/Kconfig" 21source "drivers/net/ethernet/i825xx/Kconfig"
21source "drivers/net/ethernet/qlogic/Kconfig" 22source "drivers/net/ethernet/qlogic/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 50faab53b95b..2ac05bacab8f 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -7,6 +7,7 @@ obj-$(CONFIG_NET_VENDOR_8390) += 8390/
7obj-$(CONFIG_NET_VENDOR_AMD) += amd/ 7obj-$(CONFIG_NET_VENDOR_AMD) += amd/
8obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ 8obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
9obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ 9obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
10obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
10obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ 11obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
11obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ 12obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
12obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 13obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
diff --git a/drivers/net/ethernet/emulex/Kconfig b/drivers/net/ethernet/emulex/Kconfig
new file mode 100644
index 000000000000..018ac94fb824
--- /dev/null
+++ b/drivers/net/ethernet/emulex/Kconfig
@@ -0,0 +1,22 @@
1#
2# Emulex driver configuration
3#
4
5config NET_VENDOR_EMULEX
6 bool "Emulex devices"
7 depends on PCI && INET
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 Emulex cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_EMULEX
19
20source "drivers/net/ethernet/emulex/benet/Kconfig"
21
22endif # NET_VENDOR_EMULEX
diff --git a/drivers/net/ethernet/emulex/Makefile b/drivers/net/ethernet/emulex/Makefile
new file mode 100644
index 000000000000..ea8ec574d45a
--- /dev/null
+++ b/drivers/net/ethernet/emulex/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Emulex device drivers.
3#
4
5obj-$(CONFIG_BE2NET) += benet/
diff --git a/drivers/net/ethernet/emulex/benet/Kconfig b/drivers/net/ethernet/emulex/benet/Kconfig
new file mode 100644
index 000000000000..804db04a2bd0
--- /dev/null
+++ b/drivers/net/ethernet/emulex/benet/Kconfig
@@ -0,0 +1,6 @@
1config BE2NET
2 tristate "ServerEngines' 10Gbps NIC - BladeEngine"
3 depends on PCI && INET
4 ---help---
5 This driver implements the NIC functionality for ServerEngines'
6 10Gbps network adapter - BladeEngine.
diff --git a/drivers/net/benet/Makefile b/drivers/net/ethernet/emulex/benet/Makefile
index a60cd8051135..a60cd8051135 100644
--- a/drivers/net/benet/Makefile
+++ b/drivers/net/ethernet/emulex/benet/Makefile
diff --git a/drivers/net/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h
index 12b5b5168dca..12b5b5168dca 100644
--- a/drivers/net/benet/be.h
+++ b/drivers/net/ethernet/emulex/benet/be.h
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c
index 427859532f02..427859532f02 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.c
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/ethernet/emulex/benet/be_cmds.h
index b61eac7ece35..b61eac7ece35 100644
--- a/drivers/net/benet/be_cmds.h
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.h
diff --git a/drivers/net/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c
index f144a6f99862..f144a6f99862 100644
--- a/drivers/net/benet/be_ethtool.c
+++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c
diff --git a/drivers/net/benet/be_hw.h b/drivers/net/ethernet/emulex/benet/be_hw.h
index fbc8a915519e..fbc8a915519e 100644
--- a/drivers/net/benet/be_hw.h
+++ b/drivers/net/ethernet/emulex/benet/be_hw.h
diff --git a/drivers/net/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index 1a3accab3d17..1a3accab3d17 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c