diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-13 03:37:27 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-11 05:33:55 -0400 |
commit | 9aebddd11be42366f89b0296590770c02797aa98 (patch) | |
tree | bca16cd2c06a513096e930ab6337bd6f9d9ac674 | |
parent | 874aeea5d01cac55c160a4e503e3ddb4db030de7 (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>
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> | |||
5746 | L: netdev@vger.kernel.org | 5746 | L: netdev@vger.kernel.org |
5747 | W: http://www.emulex.com | 5747 | W: http://www.emulex.com |
5748 | S: Supported | 5748 | S: Supported |
5749 | F: drivers/net/benet/ | 5749 | F: drivers/net/ethernet/emulex/benet/ |
5750 | 5750 | ||
5751 | SFC NETWORK DRIVER | 5751 | SFC NETWORK DRIVER |
5752 | M: Solarflare linux maintainers <linux-net-drivers@solarflare.com> | 5752 | M: 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 | ||
1601 | source "drivers/net/benet/Kconfig" | ||
1602 | |||
1603 | endif # NETDEV_10000 | 1601 | endif # NETDEV_10000 |
1604 | 1602 | ||
1605 | source "drivers/net/tokenring/Kconfig" | 1603 | source "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 | |||
24 | obj-$(CONFIG_TEHUTI) += tehuti.o | 24 | obj-$(CONFIG_TEHUTI) += tehuti.o |
25 | obj-$(CONFIG_ENIC) += enic/ | 25 | obj-$(CONFIG_ENIC) += enic/ |
26 | obj-$(CONFIG_JME) += jme.o | 26 | obj-$(CONFIG_JME) += jme.o |
27 | obj-$(CONFIG_BE2NET) += benet/ | ||
28 | obj-$(CONFIG_VMXNET3) += vmxnet3/ | 27 | obj-$(CONFIG_VMXNET3) += vmxnet3/ |
29 | obj-$(CONFIG_BNA) += bna/ | 28 | obj-$(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 @@ | |||
1 | config 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" | |||
16 | source "drivers/net/ethernet/amd/Kconfig" | 16 | source "drivers/net/ethernet/amd/Kconfig" |
17 | source "drivers/net/ethernet/broadcom/Kconfig" | 17 | source "drivers/net/ethernet/broadcom/Kconfig" |
18 | source "drivers/net/ethernet/chelsio/Kconfig" | 18 | source "drivers/net/ethernet/chelsio/Kconfig" |
19 | source "drivers/net/ethernet/emulex/Kconfig" | ||
19 | source "drivers/net/ethernet/intel/Kconfig" | 20 | source "drivers/net/ethernet/intel/Kconfig" |
20 | source "drivers/net/ethernet/i825xx/Kconfig" | 21 | source "drivers/net/ethernet/i825xx/Kconfig" |
21 | source "drivers/net/ethernet/qlogic/Kconfig" | 22 | source "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/ | |||
7 | obj-$(CONFIG_NET_VENDOR_AMD) += amd/ | 7 | obj-$(CONFIG_NET_VENDOR_AMD) += amd/ |
8 | obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ | 8 | obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ |
9 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ | 9 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ |
10 | obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ | ||
10 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ | 11 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ |
11 | obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ | 12 | obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ |
12 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ | 13 | obj-$(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 | |||
5 | config 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 | |||
18 | if NET_VENDOR_EMULEX | ||
19 | |||
20 | source "drivers/net/ethernet/emulex/benet/Kconfig" | ||
21 | |||
22 | endif # 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 | |||
5 | obj-$(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 @@ | |||
1 | config 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 | |||