diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-13 05:51:01 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-11 05:41:47 -0400 |
commit | 86387e1ac4fcaa45ff5578013a78593d1a0ba279 (patch) | |
tree | 25c662fa8226419e73c72873888634fe1df04693 | |
parent | 93f7848b77bcf1108879defd32612422ae80d785 (diff) |
s2io/vxge: Move the Exar drivers
Move the Exar drivers into drivers/net/ethernet/neterion/ and make the
necessary Kconfig and Makefile changes.
CC: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | MAINTAINERS | 3 | ||||
-rw-r--r-- | drivers/net/Kconfig | 34 | ||||
-rw-r--r-- | drivers/net/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/Kconfig | 54 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/Makefile | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/s2io-regs.h (renamed from drivers/net/s2io-regs.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/s2io.c (renamed from drivers/net/s2io.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/s2io.h (renamed from drivers/net/s2io.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/Makefile (renamed from drivers/net/vxge/Makefile) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-config.c (renamed from drivers/net/vxge/vxge-config.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-config.h (renamed from drivers/net/vxge/vxge-config.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-ethtool.c (renamed from drivers/net/vxge/vxge-ethtool.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-ethtool.h (renamed from drivers/net/vxge/vxge-ethtool.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-main.c (renamed from drivers/net/vxge/vxge-main.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-main.h (renamed from drivers/net/vxge/vxge-main.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-reg.h (renamed from drivers/net/vxge/vxge-reg.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-traffic.c (renamed from drivers/net/vxge/vxge-traffic.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-traffic.h (renamed from drivers/net/vxge/vxge-traffic.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-version.h (renamed from drivers/net/vxge/vxge-version.h) | 0 |
21 files changed, 63 insertions, 38 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 0a5ae236bef0..bcfc144e96a1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -4380,9 +4380,8 @@ W: http://trac.neterion.com/cgi-bin/trac.cgi/wiki/Linux?Anonymous | |||
4380 | W: http://trac.neterion.com/cgi-bin/trac.cgi/wiki/X3100Linux?Anonymous | 4380 | W: http://trac.neterion.com/cgi-bin/trac.cgi/wiki/X3100Linux?Anonymous |
4381 | S: Supported | 4381 | S: Supported |
4382 | F: Documentation/networking/s2io.txt | 4382 | F: Documentation/networking/s2io.txt |
4383 | F: drivers/net/s2io* | ||
4384 | F: Documentation/networking/vxge.txt | 4383 | F: Documentation/networking/vxge.txt |
4385 | F: drivers/net/vxge/ | 4384 | F: drivers/net/ethernet/neterion/ |
4386 | 4385 | ||
4387 | NETFILTER/IPTABLES/IPCHAINS | 4386 | NETFILTER/IPTABLES/IPCHAINS |
4388 | P: Rusty Russell | 4387 | P: Rusty Russell |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 38fcaea7c610..3e216b3ed100 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1485,40 +1485,6 @@ config ENIC | |||
1485 | help | 1485 | help |
1486 | This enables the support for the Cisco VIC Ethernet card. | 1486 | This enables the support for the Cisco VIC Ethernet card. |
1487 | 1487 | ||
1488 | config S2IO | ||
1489 | tristate "Exar Xframe 10Gb Ethernet Adapter" | ||
1490 | depends on PCI | ||
1491 | ---help--- | ||
1492 | This driver supports Exar Corp's Xframe Series 10Gb Ethernet Adapters. | ||
1493 | |||
1494 | More specific information on configuring the driver is in | ||
1495 | <file:Documentation/networking/s2io.txt>. | ||
1496 | |||
1497 | To compile this driver as a module, choose M here. The module | ||
1498 | will be called s2io. | ||
1499 | |||
1500 | config VXGE | ||
1501 | tristate "Exar X3100 Series 10GbE PCIe Server Adapter" | ||
1502 | depends on PCI && INET | ||
1503 | ---help--- | ||
1504 | This driver supports Exar Corp's X3100 Series 10 GbE PCIe | ||
1505 | I/O Virtualized Server Adapter. | ||
1506 | |||
1507 | More specific information on configuring the driver is in | ||
1508 | <file:Documentation/networking/vxge.txt>. | ||
1509 | |||
1510 | To compile this driver as a module, choose M here. The module | ||
1511 | will be called vxge. | ||
1512 | |||
1513 | config VXGE_DEBUG_TRACE_ALL | ||
1514 | bool "Enabling All Debug trace statments in driver" | ||
1515 | default n | ||
1516 | depends on VXGE | ||
1517 | ---help--- | ||
1518 | Say Y here if you want to enabling all the debug trace statements in | ||
1519 | the vxge driver. By default only few debug trace statements are | ||
1520 | enabled. | ||
1521 | |||
1522 | config PASEMI_MAC | 1488 | config PASEMI_MAC |
1523 | tristate "PA Semi 1/10Gbit MAC" | 1489 | tristate "PA Semi 1/10Gbit MAC" |
1524 | depends on PPC_PASEMI && PCI && INET | 1490 | depends on PPC_PASEMI && PCI && INET |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index b9e1f5ab6ccc..d28c153e2143 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -149,8 +149,6 @@ obj-$(CONFIG_NET_NETX) += netx-eth.o | |||
149 | obj-$(CONFIG_DL2K) += dl2k.o | 149 | obj-$(CONFIG_DL2K) += dl2k.o |
150 | obj-$(CONFIG_R8169) += r8169.o | 150 | obj-$(CONFIG_R8169) += r8169.o |
151 | obj-$(CONFIG_IBMVETH) += ibmveth.o | 151 | obj-$(CONFIG_IBMVETH) += ibmveth.o |
152 | obj-$(CONFIG_S2IO) += s2io.o | ||
153 | obj-$(CONFIG_VXGE) += vxge/ | ||
154 | obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o | 152 | obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o |
155 | obj-$(CONFIG_BFIN_MAC) += bfin_mac.o | 153 | obj-$(CONFIG_BFIN_MAC) += bfin_mac.o |
156 | obj-$(CONFIG_DM9000) += dm9000.o | 154 | obj-$(CONFIG_DM9000) += dm9000.o |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index ce3040d98de4..1a39ec07b025 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -18,6 +18,7 @@ source "drivers/net/ethernet/broadcom/Kconfig" | |||
18 | source "drivers/net/ethernet/brocade/Kconfig" | 18 | source "drivers/net/ethernet/brocade/Kconfig" |
19 | source "drivers/net/ethernet/chelsio/Kconfig" | 19 | source "drivers/net/ethernet/chelsio/Kconfig" |
20 | source "drivers/net/ethernet/emulex/Kconfig" | 20 | source "drivers/net/ethernet/emulex/Kconfig" |
21 | source "drivers/net/ethernet/neterion/Kconfig" | ||
21 | source "drivers/net/ethernet/intel/Kconfig" | 22 | source "drivers/net/ethernet/intel/Kconfig" |
22 | source "drivers/net/ethernet/i825xx/Kconfig" | 23 | source "drivers/net/ethernet/i825xx/Kconfig" |
23 | source "drivers/net/ethernet/mellanox/Kconfig" | 24 | source "drivers/net/ethernet/mellanox/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index b4dcb930de73..4c21e8fac51d 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -9,6 +9,7 @@ obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ | |||
9 | obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ | 9 | obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ |
10 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ | 10 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ |
11 | obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ | 11 | obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ |
12 | obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ | ||
12 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ | 13 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ |
13 | obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ | 14 | obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ |
14 | obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ | 15 | obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ |
diff --git a/drivers/net/ethernet/neterion/Kconfig b/drivers/net/ethernet/neterion/Kconfig new file mode 100644 index 000000000000..3d98e62c2412 --- /dev/null +++ b/drivers/net/ethernet/neterion/Kconfig | |||
@@ -0,0 +1,54 @@ | |||
1 | # | ||
2 | # Exar device configuration | ||
3 | # | ||
4 | |||
5 | config NET_VENDOR_EXAR | ||
6 | bool "Exar devices" | ||
7 | depends on PCI | ||
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 Exar cards. If you say Y, you will be asked for | ||
16 | your specific card in the following questions. | ||
17 | |||
18 | if NET_VENDOR_EXAR | ||
19 | |||
20 | config S2IO | ||
21 | tristate "Exar Xframe 10Gb Ethernet Adapter" | ||
22 | depends on PCI | ||
23 | ---help--- | ||
24 | This driver supports Exar Corp's Xframe Series 10Gb Ethernet Adapters. | ||
25 | |||
26 | More specific information on configuring the driver is in | ||
27 | <file:Documentation/networking/s2io.txt>. | ||
28 | |||
29 | To compile this driver as a module, choose M here. The module | ||
30 | will be called s2io. | ||
31 | |||
32 | config VXGE | ||
33 | tristate "Exar X3100 Series 10GbE PCIe Server Adapter" | ||
34 | depends on PCI && INET | ||
35 | ---help--- | ||
36 | This driver supports Exar Corp's X3100 Series 10 GbE PCIe | ||
37 | I/O Virtualized Server Adapter. | ||
38 | |||
39 | More specific information on configuring the driver is in | ||
40 | <file:Documentation/networking/vxge.txt>. | ||
41 | |||
42 | To compile this driver as a module, choose M here. The module | ||
43 | will be called vxge. | ||
44 | |||
45 | config VXGE_DEBUG_TRACE_ALL | ||
46 | bool "Enabling All Debug trace statements in driver" | ||
47 | default n | ||
48 | depends on VXGE | ||
49 | ---help--- | ||
50 | Say Y here if you want to enabling all the debug trace statements in | ||
51 | the vxge driver. By default only few debug trace statements are | ||
52 | enabled. | ||
53 | |||
54 | endif # NET_VENDOR_EXAR | ||
diff --git a/drivers/net/ethernet/neterion/Makefile b/drivers/net/ethernet/neterion/Makefile new file mode 100644 index 000000000000..70c8058a601a --- /dev/null +++ b/drivers/net/ethernet/neterion/Makefile | |||
@@ -0,0 +1,6 @@ | |||
1 | # | ||
2 | # Makefile for the Exar network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_S2IO) += s2io.o | ||
6 | obj-$(CONFIG_VXGE) += vxge/ | ||
diff --git a/drivers/net/s2io-regs.h b/drivers/net/ethernet/neterion/s2io-regs.h index 3688325c11f5..3688325c11f5 100644 --- a/drivers/net/s2io-regs.h +++ b/drivers/net/ethernet/neterion/s2io-regs.h | |||
diff --git a/drivers/net/s2io.c b/drivers/net/ethernet/neterion/s2io.c index 277d48b0800a..277d48b0800a 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/ethernet/neterion/s2io.c | |||
diff --git a/drivers/net/s2io.h b/drivers/net/ethernet/neterion/s2io.h index d5596926a1ef..d5596926a1ef 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/ethernet/neterion/s2io.h | |||
diff --git a/drivers/net/vxge/Makefile b/drivers/net/ethernet/neterion/vxge/Makefile index b625e2c503f5..b625e2c503f5 100644 --- a/drivers/net/vxge/Makefile +++ b/drivers/net/ethernet/neterion/vxge/Makefile | |||
diff --git a/drivers/net/vxge/vxge-config.c b/drivers/net/ethernet/neterion/vxge/vxge-config.c index 1520c574cb20..1520c574cb20 100644 --- a/drivers/net/vxge/vxge-config.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-config.c | |||
diff --git a/drivers/net/vxge/vxge-config.h b/drivers/net/ethernet/neterion/vxge/vxge-config.h index dd362584f5ca..dd362584f5ca 100644 --- a/drivers/net/vxge/vxge-config.h +++ b/drivers/net/ethernet/neterion/vxge/vxge-config.h | |||
diff --git a/drivers/net/vxge/vxge-ethtool.c b/drivers/net/ethernet/neterion/vxge/vxge-ethtool.c index 92dd72d3f9de..92dd72d3f9de 100644 --- a/drivers/net/vxge/vxge-ethtool.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-ethtool.c | |||
diff --git a/drivers/net/vxge/vxge-ethtool.h b/drivers/net/ethernet/neterion/vxge/vxge-ethtool.h index 6cf3044d7f43..6cf3044d7f43 100644 --- a/drivers/net/vxge/vxge-ethtool.h +++ b/drivers/net/ethernet/neterion/vxge/vxge-ethtool.h | |||
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c index 178348a258d2..178348a258d2 100644 --- a/drivers/net/vxge/vxge-main.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c | |||
diff --git a/drivers/net/vxge/vxge-main.h b/drivers/net/ethernet/neterion/vxge/vxge-main.h index f52a42d1dbb7..f52a42d1dbb7 100644 --- a/drivers/net/vxge/vxge-main.h +++ b/drivers/net/ethernet/neterion/vxge/vxge-main.h | |||
diff --git a/drivers/net/vxge/vxge-reg.h b/drivers/net/ethernet/neterion/vxge/vxge-reg.h index 3e658b175947..3e658b175947 100644 --- a/drivers/net/vxge/vxge-reg.h +++ b/drivers/net/ethernet/neterion/vxge/vxge-reg.h | |||
diff --git a/drivers/net/vxge/vxge-traffic.c b/drivers/net/ethernet/neterion/vxge/vxge-traffic.c index ad64ce0afe3f..ad64ce0afe3f 100644 --- a/drivers/net/vxge/vxge-traffic.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-traffic.c | |||
diff --git a/drivers/net/vxge/vxge-traffic.h b/drivers/net/ethernet/neterion/vxge/vxge-traffic.h index 4a518a3b131c..4a518a3b131c 100644 --- a/drivers/net/vxge/vxge-traffic.h +++ b/drivers/net/ethernet/neterion/vxge/vxge-traffic.h | |||
diff --git a/drivers/net/vxge/vxge-version.h b/drivers/net/ethernet/neterion/vxge/vxge-version.h index b9efa28bab3e..b9efa28bab3e 100644 --- a/drivers/net/vxge/vxge-version.h +++ b/drivers/net/ethernet/neterion/vxge/vxge-version.h | |||