diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-06-25 06:53:13 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-13 02:47:36 -0400 |
commit | 37b937575b5a93a8fcbd4e1d553415f99381f650 (patch) | |
tree | be31e45b7da810389b649eae242a0695f79cb743 | |
parent | 7191047028471c74808291d35dd0502cf73e4d2a (diff) |
sh_eth: Move the Renesas SuperH driver
Move the Renesas driver into drivers/net/ethernet/renesas/ and make
the necessary Kconfig and Makefile changes.
CC: Yoshihiro Shimoda <yoshihiro.shirmoda.uh@renesas.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/Kconfig | 15 | ||||
-rw-r--r-- | drivers/net/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/renesas/Kconfig | 18 | ||||
-rw-r--r-- | drivers/net/ethernet/renesas/Makefile | 5 | ||||
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c (renamed from drivers/net/sh_eth.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.h (renamed from drivers/net/sh_eth.h) | 0 |
8 files changed, 25 insertions, 16 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 572ddf226f12..c83a1c0f0d45 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -221,21 +221,6 @@ menuconfig NET_ETHERNET | |||
221 | 221 | ||
222 | if NET_ETHERNET | 222 | if NET_ETHERNET |
223 | 223 | ||
224 | config SH_ETH | ||
225 | tristate "Renesas SuperH Ethernet support" | ||
226 | depends on SUPERH && \ | ||
227 | (CPU_SUBTYPE_SH7710 || CPU_SUBTYPE_SH7712 || \ | ||
228 | CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7619 || \ | ||
229 | CPU_SUBTYPE_SH7724 || CPU_SUBTYPE_SH7757) | ||
230 | select CRC32 | ||
231 | select MII | ||
232 | select MDIO_BITBANG | ||
233 | select PHYLIB | ||
234 | help | ||
235 | Renesas SuperH Ethernet device driver. | ||
236 | This driver supporting CPUs are: | ||
237 | - SH7710, SH7712, SH7763, SH7619, SH7724, and SH7757. | ||
238 | |||
239 | config NET_PCI | 224 | config NET_PCI |
240 | bool "EISA, VLB, PCI and on board controllers" | 225 | bool "EISA, VLB, PCI and on board controllers" |
241 | depends on ISA || EISA || PCI | 226 | depends on ISA || EISA || PCI |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 8fa5b601c6b4..620abd76e0b5 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -18,7 +18,6 @@ obj-$(CONFIG_ROADRUNNER) += rrunner.o | |||
18 | 18 | ||
19 | obj-$(CONFIG_SKFP) += skfp/ | 19 | obj-$(CONFIG_SKFP) += skfp/ |
20 | obj-$(CONFIG_RIONET) += rionet.o | 20 | obj-$(CONFIG_RIONET) += rionet.o |
21 | obj-$(CONFIG_SH_ETH) += sh_eth.o | ||
22 | 21 | ||
23 | # | 22 | # |
24 | # end link order section | 23 | # end link order section |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 6e3619649f5f..df8940d0a7c8 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -133,6 +133,7 @@ source "drivers/net/ethernet/pasemi/Kconfig" | |||
133 | source "drivers/net/ethernet/qlogic/Kconfig" | 133 | source "drivers/net/ethernet/qlogic/Kconfig" |
134 | source "drivers/net/ethernet/racal/Kconfig" | 134 | source "drivers/net/ethernet/racal/Kconfig" |
135 | source "drivers/net/ethernet/realtek/Kconfig" | 135 | source "drivers/net/ethernet/realtek/Kconfig" |
136 | source "drivers/net/ethernet/renesas/Kconfig" | ||
136 | source "drivers/net/ethernet/rdc/Kconfig" | 137 | source "drivers/net/ethernet/rdc/Kconfig" |
137 | 138 | ||
138 | config S6GMAC | 139 | config S6GMAC |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index c274820ec29b..09f26b64a76a 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -53,6 +53,7 @@ obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ | |||
53 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ | 53 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ |
54 | obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ | 54 | obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ |
55 | obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ | 55 | obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ |
56 | obj-$(CONFIG_SH_ETH) += renesas/ | ||
56 | obj-$(CONFIG_NET_VENDOR_RDC) += rdc/ | 57 | obj-$(CONFIG_NET_VENDOR_RDC) += rdc/ |
57 | obj-$(CONFIG_S6GMAC) += s6gmac.o | 58 | obj-$(CONFIG_S6GMAC) += s6gmac.o |
58 | obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ | 59 | obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ |
diff --git a/drivers/net/ethernet/renesas/Kconfig b/drivers/net/ethernet/renesas/Kconfig new file mode 100644 index 000000000000..f57ae230817b --- /dev/null +++ b/drivers/net/ethernet/renesas/Kconfig | |||
@@ -0,0 +1,18 @@ | |||
1 | # | ||
2 | # Renesas device configuration | ||
3 | # | ||
4 | |||
5 | config SH_ETH | ||
6 | tristate "Renesas SuperH Ethernet support" | ||
7 | depends on SUPERH && \ | ||
8 | (CPU_SUBTYPE_SH7710 || CPU_SUBTYPE_SH7712 || \ | ||
9 | CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7619 || \ | ||
10 | CPU_SUBTYPE_SH7724 || CPU_SUBTYPE_SH7757) | ||
11 | select CRC32 | ||
12 | select MII | ||
13 | select MDIO_BITBANG | ||
14 | select PHYLIB | ||
15 | ---help--- | ||
16 | Renesas SuperH Ethernet device driver. | ||
17 | This driver supporting CPUs are: | ||
18 | - SH7710, SH7712, SH7763, SH7619, SH7724, and SH7757. | ||
diff --git a/drivers/net/ethernet/renesas/Makefile b/drivers/net/ethernet/renesas/Makefile new file mode 100644 index 000000000000..1c278a8e066a --- /dev/null +++ b/drivers/net/ethernet/renesas/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for the Renesas device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_SH_ETH) += sh_eth.o | ||
diff --git a/drivers/net/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index ad35c210b839..ad35c210b839 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c | |||
diff --git a/drivers/net/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h index c3048a6ba676..c3048a6ba676 100644 --- a/drivers/net/sh_eth.h +++ b/drivers/net/ethernet/renesas/sh_eth.h | |||