net: sh_eth: add support for Renesas SuperH Ethernet
Subsystems (2)
PATCH 12/13 net: sh_eth: add support for Renesas SuperH Ethernet
From: Nobuhiro Iwamatsu <[email protected]>
Add support for Renesas SuperH Ethernet controller. This driver supports SH7710 and SH7712.
[[email protected]: coding-style fixes]
Signed-off-by Yoshihiro Shimoda <[email protected]>
Signed-off-by Nobuhiro Iwamatsu <[email protected]>
Cc Paul Mundt <[email protected]>
Cc Jeff Garzik <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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(+)
drivers/net/Kconfig renamed from drivers/net/Kconfig~net-sh_eth-add-support-for-renesas-superh-ethernet +12 -0
@@ -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 renamed from drivers/net/Makefile~net-sh_eth-add-support-for-renesas-superh-ethernet +1 -0
@@ -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 +1174 -0
1,174 lines not on this page · raw message
drivers/net/sh_eth.h new file +464 -0
464 lines not on this page · raw message
_