summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-07-02 01:03:24 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-02 07:47:58 +0200
commit97bd0407b02b3d761ac7ec3d5d999b04bb7ac0e4 (patch)
tree998f22233054da2c5a867a8ab203576989a8312e /drivers/net/Kconfig
parentc0808d7b69f94ef9e9015ac3fcf6ed424ab7c77b (diff)
downloadbarebox-97bd0407b02b3d761ac7ec3d5d999b04bb7ac0e4.tar.gz
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 <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 7a0d5e1..5daf7ff 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