Add EP93xx ethernet driver
PATCH 2/5 Add EP93xx ethernet driver
Added ethernet driver for EP93xx SoCs
Signed-off-by Matthias Kaehlcke <[email protected]>
--- drivers/net/Kconfig | 5 + drivers/net/Makefile | 1 + drivers/net/ep93xx.c | 676 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/ep93xx.h | 147 +++++++++++ include/common.h | 1 + 5 files changed, 830 insertions(+), 0 deletions(-) create mode 100644 drivers/net/ep93xx.c create mode 100644 drivers/net/ep93xx.h
drivers/net/Kconfig +5 -0
@@ -64,6 +64,11 @@ config DRIVER_NET_FEC_IMX depends on ARCH_HAS_FEC_IMX select MIIPHY +config DRIVER_NET_EP93XX + bool "EP93xx Ethernet driver" + depends on ARCH_EP93XX + select MIIPHY + config DRIVER_NET_MACB bool "macb Ethernet driver" depends on ARCH_AT91
drivers/net/Makefile +1 -0
@@ -6,6 +6,7 @@ obj-$(CONFIG_DRIVER_NET_NETX) += netx_eth.o obj-$(CONFIG_DRIVER_NET_AT91_ETHER) += at91_ether.o obj-$(CONFIG_DRIVER_NET_MPC5200) += fec_mpc5200.o obj-$(CONFIG_DRIVER_NET_FEC_IMX) += fec_imx.o +obj-$(CONFIG_DRIVER_NET_EP93XX) += ep93xx.o obj-$(CONFIG_DRIVER_NET_MACB) += macb.o obj-$(CONFIG_DRIVER_NET_TAP) += tap.o obj-$(CONFIG_MIIPHY) += miiphy.o
drivers/net/ep93xx.c new file +676 -0
676 lines not on this page · raw message
drivers/net/ep93xx.h new file +147 -0
147 lines not on this page · raw message
include/common.h +1 -0
@@ -31,6 +31,7 @@#include <linux/types.h> #include <linux/string.h> #include <linux/kernel.h> +#include <linux/stddef.h> #include <asm/common.h> #define pr_info(fmt, arg...) printf(fmt, ##arg)
Signature · 7 lines
1.6.3.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox