diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-20 22:48:55 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-12 03:21:47 -0400 |
commit | 1c1538be1da768fe0209a11e1bdf9dd7ab38905a (patch) | |
tree | ef41cb89bb9b7b576a938e20e78fb63ca53ace35 /drivers | |
parent | 9e13fbf7af3cb044f365e8df9c0e9277715cfc7c (diff) |
pch_gbe: Move the OKI Semiconductor driver
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>
Diffstat (limited to 'drivers')
16 files changed, 49 insertions, 20 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 696464cb0a93..87e7a1217851 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -996,25 +996,6 @@ config S6GMAC | |||
996 | To compile this driver as a module, choose M here. The module | 996 | To compile this driver as a module, choose M here. The module |
997 | will be called s6gmac. | 997 | will be called s6gmac. |
998 | 998 | ||
999 | config PCH_GBE | ||
1000 | tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7223 IOH GbE" | ||
1001 | depends on PCI | ||
1002 | select MII | ||
1003 | ---help--- | ||
1004 | This is a gigabit ethernet driver for EG20T PCH. | ||
1005 | EG20T PCH is the platform controller hub that is used in Intel's | ||
1006 | general embedded platform. | ||
1007 | EG20T PCH has Gigabit Ethernet interface. | ||
1008 | Using this interface, it is able to access system devices connected | ||
1009 | to Gigabit Ethernet. | ||
1010 | This driver enables Gigabit Ethernet function. | ||
1011 | |||
1012 | This driver also can be used for OKI SEMICONDUCTOR IOH(Input/ | ||
1013 | Output Hub), ML7223. | ||
1014 | ML7223 IOH is for MP(Media Phone) use. | ||
1015 | ML7223 is companion chip for Intel Atom E6xx series. | ||
1016 | ML7223 is completely compatible for Intel EG20T PCH. | ||
1017 | |||
1018 | endif # NETDEV_1000 | 999 | endif # NETDEV_1000 |
1019 | 1000 | ||
1020 | # | 1001 | # |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index b1ead87b65c3..141ed251f52c 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -156,5 +156,4 @@ obj-$(CONFIG_WIMAX) += wimax/ | |||
156 | obj-$(CONFIG_CAIF) += caif/ | 156 | obj-$(CONFIG_CAIF) += caif/ |
157 | 157 | ||
158 | obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/ | 158 | obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/ |
159 | obj-$(CONFIG_PCH_GBE) += pch_gbe/ | ||
160 | obj-$(CONFIG_TILE_NET) += tile/ | 159 | obj-$(CONFIG_TILE_NET) += tile/ |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 35ed4c21a454..0eaf95770ab7 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -32,6 +32,7 @@ source "drivers/net/ethernet/mellanox/Kconfig" | |||
32 | source "drivers/net/ethernet/myricom/Kconfig" | 32 | source "drivers/net/ethernet/myricom/Kconfig" |
33 | source "drivers/net/ethernet/natsemi/Kconfig" | 33 | source "drivers/net/ethernet/natsemi/Kconfig" |
34 | source "drivers/net/ethernet/8390/Kconfig" | 34 | source "drivers/net/ethernet/8390/Kconfig" |
35 | source "drivers/net/ethernet/oki-semi/Kconfig" | ||
35 | source "drivers/net/ethernet/pasemi/Kconfig" | 36 | source "drivers/net/ethernet/pasemi/Kconfig" |
36 | source "drivers/net/ethernet/qlogic/Kconfig" | 37 | source "drivers/net/ethernet/qlogic/Kconfig" |
37 | source "drivers/net/ethernet/racal/Kconfig" | 38 | source "drivers/net/ethernet/racal/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index ea0999fd1494..b5ca872f2444 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -23,6 +23,7 @@ obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/ | |||
23 | obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ | 23 | obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ |
24 | obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ | 24 | obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ |
25 | obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ | 25 | obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ |
26 | obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/ | ||
26 | obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ | 27 | obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ |
27 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ | 28 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ |
28 | obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ | 29 | 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 index 000000000000..97f5e72f0ec7 --- /dev/null +++ b/drivers/net/ethernet/oki-semi/Kconfig | |||
@@ -0,0 +1,22 @@ | |||
1 | # | ||
2 | # OKI Semiconductor device configuration | ||
3 | # | ||
4 | |||
5 | config NET_VENDOR_OKI | ||
6 | bool "OKI Semiconductor devices" | ||
7 | depends on PCI | ||
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 OKI Semiconductor cards. If you say Y, you will | ||
16 | be asked for your specific card in the following questions. | ||
17 | |||
18 | if NET_VENDOR_OKI | ||
19 | |||
20 | source "drivers/net/ethernet/oki-semi/pch_gbe/Kconfig" | ||
21 | |||
22 | endif # NET_VENDOR_OKI | ||
diff --git a/drivers/net/ethernet/oki-semi/Makefile b/drivers/net/ethernet/oki-semi/Makefile new file mode 100644 index 000000000000..b6780c877c19 --- /dev/null +++ b/drivers/net/ethernet/oki-semi/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for the OKI Semiconductor device drivers. | ||
3 | # | ||
4 | |||
5 | 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 index 000000000000..c85709d6ff1b --- /dev/null +++ b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | |||
@@ -0,0 +1,20 @@ | |||
1 | # | ||
2 | # OKI Semiconductor device configuration | ||
3 | # | ||
4 | |||
5 | config PCH_GBE | ||
6 | tristate "OKI SEMICONDUCTOR ML7223 IOH GbE (Intel EG20T PCH)" | ||
7 | depends on PCI | ||
8 | select MII | ||
9 | ---help--- | ||
10 | This is a gigabit ethernet driver for EG20T PCH. | ||
11 | EG20T PCH is the platform controller hub that is used in Intel's | ||
12 | general embedded platform. EG20T PCH has Gigabit Ethernet interface. | ||
13 | Using this interface, it is able to access system devices connected | ||
14 | to Gigabit Ethernet. This driver enables Gigabit Ethernet function. | ||
15 | |||
16 | This driver also can be used for OKI SEMICONDUCTOR IOH(Input/ | ||
17 | Output Hub), ML7223. | ||
18 | ML7223 IOH is for MP(Media Phone) use. | ||
19 | ML7223 is companion chip for Intel Atom E6xx series. | ||
20 | ML7223 is completely compatible for Intel EG20T PCH. | ||
diff --git a/drivers/net/pch_gbe/Makefile b/drivers/net/ethernet/oki-semi/pch_gbe/Makefile index 31288d4ad248..31288d4ad248 100644 --- a/drivers/net/pch_gbe/Makefile +++ b/drivers/net/ethernet/oki-semi/pch_gbe/Makefile | |||
diff --git a/drivers/net/pch_gbe/pch_gbe.h b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h index 59fac77d0dbb..59fac77d0dbb 100644 --- a/drivers/net/pch_gbe/pch_gbe.h +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h | |||
diff --git a/drivers/net/pch_gbe/pch_gbe_api.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.c index e48f084ad226..e48f084ad226 100644 --- a/drivers/net/pch_gbe/pch_gbe_api.c +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.c | |||
diff --git a/drivers/net/pch_gbe/pch_gbe_api.h b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.h index 94aaac5b057b..94aaac5b057b 100644 --- a/drivers/net/pch_gbe/pch_gbe_api.h +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.h | |||
diff --git a/drivers/net/pch_gbe/pch_gbe_ethtool.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c index ea2d8e41887a..ea2d8e41887a 100644 --- a/drivers/net/pch_gbe/pch_gbe_ethtool.c +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c | |||
diff --git a/drivers/net/pch_gbe/pch_gbe_main.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c index eac3c5ca9731..eac3c5ca9731 100644 --- a/drivers/net/pch_gbe/pch_gbe_main.c +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | |||
diff --git a/drivers/net/pch_gbe/pch_gbe_param.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c index 5b5d90a47e29..5b5d90a47e29 100644 --- a/drivers/net/pch_gbe/pch_gbe_param.c +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c | |||
diff --git a/drivers/net/pch_gbe/pch_gbe_phy.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c index 28bb9603d736..28bb9603d736 100644 --- a/drivers/net/pch_gbe/pch_gbe_phy.c +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c | |||
diff --git a/drivers/net/pch_gbe/pch_gbe_phy.h b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h index 03264dc7b5ec..03264dc7b5ec 100644 --- a/drivers/net/pch_gbe/pch_gbe_phy.h +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h | |||