Skip to contentSkip to conversation

net: sh_eth: Add support for Renesas SuperH Ethernet

PATCH New Nobuhiro Iwamatsu 1 participant 1 message Jun 4, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

Hi, all.

I update sh_eth driver from Andrew's commnets [0]. Please apply this patch.

[0]: http://article.gmane.org/gmane.linux.network/85598/match=sh%5feth

Best regards,
Nobuhioro

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

---
 drivers/net/Kconfig  |   12 +
 drivers/net/Makefile |    1 +
 drivers/net/sh_eth.c | 1174 ++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/sh_eth.h |  464 ++++++++++++++++++++
 4 files changed, 1651 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/sh_eth.c
 create mode 100644 drivers/net/sh_eth.h
drivers/net/Kconfig +12 -0
index dd0ec9e..caba25c 100644
@@ -524,6 +524,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
index dcbfe84..c52738a 100644
@@ -80,6 +80,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 new file +1172 -0

1,172 lines not on this page · raw message

drivers/net/sh_eth.h new file +464 -0

464 lines not on this page · raw message

Signature · 1 line
1.5.5.1