aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-06-16 18:02:54 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 15:37:35 -0400
commit7443713a31f284365454493a9adbaea02bcc4344 (patch)
tree58e4ec1abf2b85a3cb54efe71350ca4f193c2eac
parentb13ad8f498793dc582b7f42f27b8f44490bd608d (diff)
ipg: Move the IC Plus driver
Move the IC Plus driver into drivers/net/ethernet/icplus/ and make the necessary Kconfig and Makefile changes. CC: <craig_rich@sundanceti.com> CC: <sorbica@icplus.com.tw> CC: <jesse@icplus.com.tw> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--MAINTAINERS2
-rw-r--r--drivers/net/Kconfig10
-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/icplus/Kconfig13
-rw-r--r--drivers/net/ethernet/icplus/Makefile5
-rw-r--r--drivers/net/ethernet/icplus/ipg.c (renamed from drivers/net/ipg.c)0
-rw-r--r--drivers/net/ethernet/icplus/ipg.h (renamed from drivers/net/ipg.h)0
9 files changed, 21 insertions, 12 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 37cbe1495c6e..879c17ebf38a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3443,7 +3443,7 @@ M: Francois Romieu <romieu@fr.zoreil.com>
3443M: Sorbica Shieh <sorbica@icplus.com.tw> 3443M: Sorbica Shieh <sorbica@icplus.com.tw>
3444L: netdev@vger.kernel.org 3444L: netdev@vger.kernel.org
3445S: Maintained 3445S: Maintained
3446F: drivers/net/ipg.* 3446F: drivers/net/ethernet/icplus/ipg.*
3447 3447
3448IPATH DRIVER 3448IPATH DRIVER
3449M: Mike Marciniszyn <infinipath@qlogic.com> 3449M: Mike Marciniszyn <infinipath@qlogic.com>
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 2607a44a270f..bcf7368decd9 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -522,16 +522,6 @@ menuconfig NETDEV_1000
522 522
523if NETDEV_1000 523if NETDEV_1000
524 524
525config IP1000
526 tristate "IP1000 Gigabit Ethernet support"
527 depends on PCI && EXPERIMENTAL
528 select MII
529 ---help---
530 This driver supports IP1000 gigabit Ethernet cards.
531
532 To compile this driver as a module, choose M here: the module
533 will be called ipg. This is recommended.
534
535endif # NETDEV_1000 525endif # NETDEV_1000
536 526
537# 527#
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 4c7af0286ccf..2fb039b963fb 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -5,7 +5,6 @@
5obj-$(CONFIG_MII) += mii.o 5obj-$(CONFIG_MII) += mii.o
6obj-$(CONFIG_MDIO) += mdio.o 6obj-$(CONFIG_MDIO) += mdio.o
7obj-$(CONFIG_PHYLIB) += phy/ 7obj-$(CONFIG_PHYLIB) += phy/
8obj-$(CONFIG_IP1000) += ipg.o
9obj-$(CONFIG_CAN) += can/ 8obj-$(CONFIG_CAN) += can/
10obj-$(CONFIG_BONDING) += bonding/ 9obj-$(CONFIG_BONDING) += bonding/
11obj-$(CONFIG_VMXNET3) += vmxnet3/ 10obj-$(CONFIG_VMXNET3) += vmxnet3/
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 922f4d1243a6..72d0f5ef23c7 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -31,6 +31,7 @@ source "drivers/net/ethernet/ibm/Kconfig"
31source "drivers/net/ethernet/intel/Kconfig" 31source "drivers/net/ethernet/intel/Kconfig"
32source "drivers/net/ethernet/i825xx/Kconfig" 32source "drivers/net/ethernet/i825xx/Kconfig"
33source "drivers/net/ethernet/xscale/Kconfig" 33source "drivers/net/ethernet/xscale/Kconfig"
34source "drivers/net/ethernet/icplus/Kconfig"
34 35
35config JME 36config JME
36 tristate "JMicron(R) PCI-Express Gigabit Ethernet support" 37 tristate "JMicron(R) PCI-Express Gigabit Ethernet support"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index fcecd5f474b4..a8d8913b3055 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -23,6 +23,7 @@ obj-$(CONFIG_NET_VENDOR_IBM) += ibm/
23obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ 23obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
24obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ 24obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
25obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/ 25obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/
26obj-$(CONFIG_IP1000) += icplus/
26obj-$(CONFIG_JME) += jme.o 27obj-$(CONFIG_JME) += jme.o
27obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/ 28obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
28obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 29obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
diff --git a/drivers/net/ethernet/icplus/Kconfig b/drivers/net/ethernet/icplus/Kconfig
new file mode 100644
index 000000000000..e88822276269
--- /dev/null
+++ b/drivers/net/ethernet/icplus/Kconfig
@@ -0,0 +1,13 @@
1#
2# IC Plus device configuration
3#
4
5config IP1000
6 tristate "IP1000 Gigabit Ethernet support"
7 depends on PCI && EXPERIMENTAL
8 select MII
9 ---help---
10 This driver supports IP1000 gigabit Ethernet cards.
11
12 To compile this driver as a module, choose M here: the module
13 will be called ipg. This is recommended.
diff --git a/drivers/net/ethernet/icplus/Makefile b/drivers/net/ethernet/icplus/Makefile
new file mode 100644
index 000000000000..5bc87c1f36aa
--- /dev/null
+++ b/drivers/net/ethernet/icplus/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the IC Plus device drivers
3#
4
5obj-$(CONFIG_IP1000) += ipg.o
diff --git a/drivers/net/ipg.c b/drivers/net/ethernet/icplus/ipg.c
index b470281158e9..b470281158e9 100644
--- a/drivers/net/ipg.c
+++ b/drivers/net/ethernet/icplus/ipg.c
diff --git a/drivers/net/ipg.h b/drivers/net/ethernet/icplus/ipg.h
index 6ce027355fcf..6ce027355fcf 100644
--- a/drivers/net/ipg.h
+++ b/drivers/net/ethernet/icplus/ipg.h