Skip to contentSkip to conversation

net: sh_eth: Add support for Renesas SuperH Ethernet

PATCH Superseded Yoshihiro Shimoda 1 participant 1 message Jan 18, 2008

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: sh_eth: Add support for Renesas SuperH Ethernet

Add support for Renesas SuperH Ethernet controller. This driver supported SH7710 and SH7712.

---
 Kconfig  |   12
 Makefile |    1
 sh_eth.c | 1175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sh_eth.h |  468 +++++++++++++++++++++++++
 4 files changed, 1656 insertions(+)
drivers/net/Kconfig +12 -0
diff -uprN a/drivers/net/Kconfig b/drivers/net/Kconfig
@@ -522,6 +522,18 @@ config STNIC
 
 	  If unsure, say N.
 
+config SH_ETH
+	tristate "Renesas SuperH Ethernet support"
+	depends on SUPERH && \
+		(CPU_SUBTYPE_SH7710 || CPU_SUBTYPE_SH7712)
+	select CRC32
+	select MII
+	select MDIO_BITBANG
+	select PHYLIB
+	help
+	  Renesas SuperH Ethernet device driver.
+	  This driver support SH7710 and SH7712.
+
 config SUNLANCE
 	tristate "Sun LANCE support"
 	depends on SBUS
drivers/net/Makefile +1 -0
diff -uprN a/drivers/net/Makefile b/drivers/net/Makefile
@@ -76,6 +76,7 @@ obj-$(CONFIG_VIA_RHINE) += via-rhine.o
 obj-$(CONFIG_VIA_VELOCITY) += via-velocity.o
 obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
 obj-$(CONFIG_RIONET) += rionet.o
+obj-$(CONFIG_SH_ETH) += sh_eth.o
 
 #
 # end link order section
drivers/net/sh_eth.c +1173 -0

1,173 lines not on this page · raw message

drivers/net/sh_eth.h +468 -0

468 lines not on this page · raw message