]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pch_gbe: Move the OKI Semiconductor driver
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 21 May 2011 02:48:55 +0000 (19:48 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 12 Aug 2011 07:21:47 +0000 (00:21 -0700)
Move the OKI Semiconductor driver into driver/net/ethernet/oki-semi/
and make the necessary Kconfig and Makefile changes.

Note: there is no documented maintainer for this driver, so I CC'd
the last 2 major contributors.

CC: Tomoya <tomoya-linux@dsn.okisemi.com>
CC: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
16 files changed:
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/oki-semi/Kconfig [new file with mode: 0644]
drivers/net/ethernet/oki-semi/Makefile [new file with mode: 0644]
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig [new file with mode: 0644]
drivers/net/ethernet/oki-semi/pch_gbe/Makefile [moved from drivers/net/pch_gbe/Makefile with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h [moved from drivers/net/pch_gbe/pch_gbe.h with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.c [moved from drivers/net/pch_gbe/pch_gbe_api.c with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.h [moved from drivers/net/pch_gbe/pch_gbe_api.h with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c [moved from drivers/net/pch_gbe/pch_gbe_ethtool.c with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c [moved from drivers/net/pch_gbe/pch_gbe_main.c with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c [moved from drivers/net/pch_gbe/pch_gbe_param.c with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c [moved from drivers/net/pch_gbe/pch_gbe_phy.c with 100% similarity]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h [moved from drivers/net/pch_gbe/pch_gbe_phy.h with 100% similarity]

index 696464cb0a93542f727fb28e771428985ac75aca..87e7a1217851c1525fbb54e5bc10dbda649b6e56 100644 (file)
@@ -996,25 +996,6 @@ config S6GMAC
          To compile this driver as a module, choose M here. The module
          will be called s6gmac.
 
-config PCH_GBE
-       tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7223 IOH GbE"
-       depends on PCI
-       select MII
-       ---help---
-         This is a gigabit ethernet driver for EG20T PCH.
-         EG20T PCH is the platform controller hub that is used in Intel's
-         general embedded platform.
-         EG20T PCH has Gigabit Ethernet interface.
-         Using this interface, it is able to access system devices connected
-         to Gigabit Ethernet.
-         This driver enables Gigabit Ethernet function.
-
-         This driver also can be used for OKI SEMICONDUCTOR IOH(Input/
-         Output Hub), ML7223.
-         ML7223 IOH is for MP(Media Phone) use.
-         ML7223 is companion chip for Intel Atom E6xx series.
-         ML7223 is completely compatible for Intel EG20T PCH.
-
 endif # NETDEV_1000
 
 #
index b1ead87b65c3f6bcb8b1c8efd0d0e3ad36315e29..141ed251f52ce7a0817148ddf720d7046f734fa6 100644 (file)
@@ -156,5 +156,4 @@ obj-$(CONFIG_WIMAX) += wimax/
 obj-$(CONFIG_CAIF) += caif/
 
 obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/
-obj-$(CONFIG_PCH_GBE) += pch_gbe/
 obj-$(CONFIG_TILE_NET) += tile/
index 35ed4c21a45411680faeee5925f7d768d8ea343f..0eaf95770ab7e1353bcede77cb045ac59e4104de 100644 (file)
@@ -32,6 +32,7 @@ source "drivers/net/ethernet/mellanox/Kconfig"
 source "drivers/net/ethernet/myricom/Kconfig"
 source "drivers/net/ethernet/natsemi/Kconfig"
 source "drivers/net/ethernet/8390/Kconfig"
+source "drivers/net/ethernet/oki-semi/Kconfig"
 source "drivers/net/ethernet/pasemi/Kconfig"
 source "drivers/net/ethernet/qlogic/Kconfig"
 source "drivers/net/ethernet/racal/Kconfig"
index ea0999fd14946a54b4e5d958e9556338da9a336c..b5ca872f244446a077df80e2c3a6960f650daffd 100644 (file)
@@ -23,6 +23,7 @@ obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/
 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
 obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
 obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
+obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/
 obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
 obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
diff --git a/drivers/net/ethernet/oki-semi/Kconfig b/drivers/net/ethernet/oki-semi/Kconfig
new file mode 100644 (file)
index 0000000..97f5e72
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# OKI Semiconductor device configuration
+#
+
+config NET_VENDOR_OKI
+       bool "OKI Semiconductor devices"
+       depends on PCI
+       ---help---
+         If you have a network (Ethernet) card belonging to this class, say Y
+         and read the Ethernet-HOWTO, available from
+         <http://www.tldp.org/docs.html#howto>.
+
+         Note that the answer to this question doesn't directly affect the
+         kernel: saying N will just cause the configurator to skip all
+         the questions about OKI Semiconductor cards. If you say Y, you will
+         be asked for your specific card in the following questions.
+
+if NET_VENDOR_OKI
+
+source "drivers/net/ethernet/oki-semi/pch_gbe/Kconfig"
+
+endif # NET_VENDOR_OKI
diff --git a/drivers/net/ethernet/oki-semi/Makefile b/drivers/net/ethernet/oki-semi/Makefile
new file mode 100644 (file)
index 0000000..b6780c8
--- /dev/null
@@ -0,0 +1,5 @@
+#
+# Makefile for the OKI Semiconductor device drivers.
+#
+
+obj-$(CONFIG_PCH_GBE) += pch_gbe/
diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
new file mode 100644 (file)
index 0000000..c85709d
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# OKI Semiconductor device configuration
+#
+
+config PCH_GBE
+       tristate "OKI SEMICONDUCTOR ML7223 IOH GbE (Intel EG20T PCH)"
+       depends on PCI
+       select MII
+       ---help---
+         This is a gigabit ethernet driver for EG20T PCH.
+         EG20T PCH is the platform controller hub that is used in Intel's
+         general embedded platform.  EG20T PCH has Gigabit Ethernet interface.
+         Using this interface, it is able to access system devices connected
+         to Gigabit Ethernet.  This driver enables Gigabit Ethernet function.
+
+         This driver also can be used for OKI SEMICONDUCTOR IOH(Input/
+         Output Hub), ML7223.
+         ML7223 IOH is for MP(Media Phone) use.
+         ML7223 is companion chip for Intel Atom E6xx series.
+         ML7223 is completely compatible for Intel EG20T PCH.