From 97bd0407b02b3d761ac7ec3d5d999b04bb7ac0e4 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Wed, 2 Jul 2014 01:03:24 +0400 Subject: net: add ENC28J60 support ENC28J60 is a stand-alone Ethernet controller with SPI Interface and integrated 10BASE-T PHY. This driver was ported from linux-3.15. The most notable barebox driver version changes: * add device tree support; * drop netif_msg_*() debug level checking; * use IF_ENABLED for checking CONFIG_ENC28J60_WRITEVERIFY; * add mii_bus support. Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- drivers/net/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'drivers/net/Kconfig') diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 7a0d5e107b..5daf7ff649 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -73,6 +73,20 @@ config DRIVER_NET_DM9K depends on HAS_DM9000 select PHYLIB +config DRIVER_NET_ENC28J60 + bool "ENC28J60 support" + depends on SPI + select PHYLIB + ---help--- + Support for the Microchip EN28J60 ethernet chip. + +config DRIVER_NET_ENC28J60_WRITEVERIFY + bool "Enable write verify" + depends on DRIVER_NET_ENC28J60 + ---help--- + Enable the verify after the buffer write useful for debugging purpose. + If unsure, say N. + config DRIVER_NET_EP93XX bool "EP93xx Ethernet driver" depends on ARCH_EP93XX -- cgit v1.2.3