Skip to content

Commit 37b9375

Browse files
author
Jeff Kirsher
committed
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 <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 7191047 commit 37b9375

File tree

8 files changed

+25
-16
lines changed

8 files changed

+25
-16
lines changed

drivers/net/Kconfig

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -221,21 +221,6 @@ menuconfig NET_ETHERNET
221221

222222
if NET_ETHERNET
223223

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-
239224
config NET_PCI
240225
bool "EISA, VLB, PCI and on board controllers"
241226
depends on ISA || EISA || PCI

drivers/net/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ obj-$(CONFIG_ROADRUNNER) += rrunner.o
1818

1919
obj-$(CONFIG_SKFP) += skfp/
2020
obj-$(CONFIG_RIONET) += rionet.o
21-
obj-$(CONFIG_SH_ETH) += sh_eth.o
2221

2322
#
2423
# end link order section

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ source "drivers/net/ethernet/pasemi/Kconfig"
133133
source "drivers/net/ethernet/qlogic/Kconfig"
134134
source "drivers/net/ethernet/racal/Kconfig"
135135
source "drivers/net/ethernet/realtek/Kconfig"
136+
source "drivers/net/ethernet/renesas/Kconfig"
136137
source "drivers/net/ethernet/rdc/Kconfig"
137138

138139
config S6GMAC

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
5353
obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
5454
obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
5555
obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
56+
obj-$(CONFIG_SH_ETH) += renesas/
5657
obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
5758
obj-$(CONFIG_S6GMAC) += s6gmac.o
5859
obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/

drivers/net/ethernet/renesas/Kconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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.

drivers/net/ethernet/renesas/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Makefile for the Renesas device drivers.
3+
#
4+
5+
obj-$(CONFIG_SH_ETH) += sh_eth.o
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)