aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-13 05:24:46 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-11 05:41:42 -0400
commit93f7848b77bcf1108879defd32612422ae80d785 (patch)
treed0b65277b4bd84334423e693870a0dcf50e1b699 /drivers
parent5a2cc190eb3fe58fe519795c509b01b25795992e (diff)
myri*: Move the Myricom drivers
Move the Myricom drivers into drivers/net/ethernet/myricom/ and make the necessary Kconfig and Makefile changes. CC: Andrew Gallatin <gallatin@myri.com> CC: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig26
-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/myricom/Kconfig46
-rw-r--r--drivers/net/ethernet/myricom/Makefile5
-rw-r--r--drivers/net/ethernet/myricom/myri10ge/Makefile (renamed from drivers/net/myri10ge/Makefile)0
-rw-r--r--drivers/net/ethernet/myricom/myri10ge/myri10ge.c (renamed from drivers/net/myri10ge/myri10ge.c)0
-rw-r--r--drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp.h (renamed from drivers/net/myri10ge/myri10ge_mcp.h)0
-rw-r--r--drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h (renamed from drivers/net/myri10ge/myri10ge_mcp_gen_header.h)0
10 files changed, 53 insertions, 27 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 56c033a32bdf..38fcaea7c610 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -1519,32 +1519,6 @@ config VXGE_DEBUG_TRACE_ALL
1519 the vxge driver. By default only few debug trace statements are 1519 the vxge driver. By default only few debug trace statements are
1520 enabled. 1520 enabled.
1521 1521
1522config MYRI10GE
1523 tristate "Myricom Myri-10G Ethernet support"
1524 depends on PCI && INET
1525 select FW_LOADER
1526 select CRC32
1527 select INET_LRO
1528 ---help---
1529 This driver supports Myricom Myri-10G Dual Protocol interface in
1530 Ethernet mode. If the eeprom on your board is not recent enough,
1531 you will need a newer firmware image.
1532 You may get this image or more information, at:
1533
1534 <http://www.myri.com/scs/download-Myri10GE.html>
1535
1536 To compile this driver as a module, choose M here. The module
1537 will be called myri10ge.
1538
1539config MYRI10GE_DCA
1540 bool "Direct Cache Access (DCA) Support"
1541 default y
1542 depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m)
1543 ---help---
1544 Say Y here if you want to use Direct Cache Access (DCA) in the
1545 driver. DCA is a method for warming the CPU cache before data
1546 is used, with the intent of lessening the impact of cache misses.
1547
1548config PASEMI_MAC 1522config PASEMI_MAC
1549 tristate "PA Semi 1/10Gbit MAC" 1523 tristate "PA Semi 1/10Gbit MAC"
1550 depends on PPC_PASEMI && PCI && INET 1524 depends on PPC_PASEMI && PCI && INET
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 73e357e1d16e..b9e1f5ab6ccc 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -151,7 +151,6 @@ obj-$(CONFIG_R8169) += r8169.o
151obj-$(CONFIG_IBMVETH) += ibmveth.o 151obj-$(CONFIG_IBMVETH) += ibmveth.o
152obj-$(CONFIG_S2IO) += s2io.o 152obj-$(CONFIG_S2IO) += s2io.o
153obj-$(CONFIG_VXGE) += vxge/ 153obj-$(CONFIG_VXGE) += vxge/
154obj-$(CONFIG_MYRI10GE) += myri10ge/
155obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o 154obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o
156obj-$(CONFIG_BFIN_MAC) += bfin_mac.o 155obj-$(CONFIG_BFIN_MAC) += bfin_mac.o
157obj-$(CONFIG_DM9000) += dm9000.o 156obj-$(CONFIG_DM9000) += dm9000.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 8bbddc94ef2e..ce3040d98de4 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -21,6 +21,7 @@ source "drivers/net/ethernet/emulex/Kconfig"
21source "drivers/net/ethernet/intel/Kconfig" 21source "drivers/net/ethernet/intel/Kconfig"
22source "drivers/net/ethernet/i825xx/Kconfig" 22source "drivers/net/ethernet/i825xx/Kconfig"
23source "drivers/net/ethernet/mellanox/Kconfig" 23source "drivers/net/ethernet/mellanox/Kconfig"
24source "drivers/net/ethernet/myricom/Kconfig"
24source "drivers/net/ethernet/qlogic/Kconfig" 25source "drivers/net/ethernet/qlogic/Kconfig"
25source "drivers/net/ethernet/racal/Kconfig" 26source "drivers/net/ethernet/racal/Kconfig"
26source "drivers/net/ethernet/sfc/Kconfig" 27source "drivers/net/ethernet/sfc/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index e5f2954f7c74..b4dcb930de73 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -12,6 +12,7 @@ obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
12obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ 12obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
13obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ 13obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
14obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 14obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
15obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
15obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 16obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
16obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 17obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
17obj-$(CONFIG_SFC) += sfc/ 18obj-$(CONFIG_SFC) += sfc/
diff --git a/drivers/net/ethernet/myricom/Kconfig b/drivers/net/ethernet/myricom/Kconfig
new file mode 100644
index 000000000000..1816ae12ce07
--- /dev/null
+++ b/drivers/net/ethernet/myricom/Kconfig
@@ -0,0 +1,46 @@
1#
2# Myricom device configuration
3#
4
5config NET_VENDOR_MYRI
6 bool "Myricom devices"
7 depends on PCI && INET
8 ---help---
9 If you have a network (Ethernet) card belonging to this class, say
10 Y 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 Myricom cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_MYRI
19
20config MYRI10GE
21 tristate "Myricom Myri-10G Ethernet support"
22 depends on PCI && INET
23 select FW_LOADER
24 select CRC32
25 select INET_LRO
26 ---help---
27 This driver supports Myricom Myri-10G Dual Protocol interface in
28 Ethernet mode. If the eeprom on your board is not recent enough,
29 you will need a newer firmware image.
30 You may get this image or more information, at:
31
32 <http://www.myri.com/scs/download-Myri10GE.html>
33
34 To compile this driver as a module, choose M here. The module
35 will be called myri10ge.
36
37config MYRI10GE_DCA
38 bool "Direct Cache Access (DCA) Support"
39 default y
40 depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m)
41 ---help---
42 Say Y here if you want to use Direct Cache Access (DCA) in the
43 driver. DCA is a method for warming the CPU cache before data
44 is used, with the intent of lessening the impact of cache misses.
45
46endif # NET_VENDOR_MYRI
diff --git a/drivers/net/ethernet/myricom/Makefile b/drivers/net/ethernet/myricom/Makefile
new file mode 100644
index 000000000000..296c0a10056b
--- /dev/null
+++ b/drivers/net/ethernet/myricom/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Myricom network device drivers.
3#
4
5obj-$(CONFIG_MYRI10GE) += myri10ge/
diff --git a/drivers/net/myri10ge/Makefile b/drivers/net/ethernet/myricom/myri10ge/Makefile
index 5df891647aee..5df891647aee 100644
--- a/drivers/net/myri10ge/Makefile
+++ b/drivers/net/ethernet/myricom/myri10ge/Makefile
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
index 1d2247554a35..1d2247554a35 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
diff --git a/drivers/net/myri10ge/myri10ge_mcp.h b/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp.h
index 11be150e4d67..11be150e4d67 100644
--- a/drivers/net/myri10ge/myri10ge_mcp.h
+++ b/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp.h
diff --git a/drivers/net/myri10ge/myri10ge_mcp_gen_header.h b/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h
index 7ec4b864a550..7ec4b864a550 100644
--- a/drivers/net/myri10ge/myri10ge_mcp_gen_header.h
+++ b/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h