add driver for enc28j60 ethernet chip
Subsystems (2)
PATCH 2/2 add driver for enc28j60 ethernet chip
Second part contains changes on Kconfig and Makefile on dir drivers/net
Signed-off-by Claudio Lanconelli <[email protected]>
drivers/net/Kconfig | 26 ++++++++++++++++++++++++++ drivers/net/Makefile | 1 + 2 files changed, 27 insertions(+), 0 deletions(-)
drivers/net/Kconfig +26 -0
@@ -922,6 +922,32 @@ config DM9000 To compile this driver as a module, choose M here. The module will be called dm9000. +config ENC28J60 + tristate "ENC28J60 support" + depends on EXPERIMENTAL && SPI && NET_ETHERNET + select CRC32 + select MII + ---help--- + Support for the Microchip EN28J60 ethernet chip. + + To compile this driver as a module, choose M here and read + <file:Documentation/networking/net-modules.txt>. The module will be + called enc28j60. + +config ENC28J60_DBGLEVEL + int "Debugging verbosity (0 = quiet, 3 = noisy)" + depends on ENC28J60 + default "0" + ---help--- + Determines the verbosity level of the enc28j60 driver debugging messages. + +config ENC28J60_WRITEVERIFY + bool "Enable write verify" + depends on ENC28J60 + ---help--- + Enable the verify after the buffer write useful for debugging purpose. + If unsure, say N. + config SMC911X tristate "SMSC LAN911[5678] support" select CRC32
drivers/net/Makefile +1 -0
@@ -216,6 +216,7 @@ obj-$(CONFIG_DM9000) += dm9000.o obj-$(CONFIG_FEC_8XX) += fec_8xx/ obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o obj-$(CONFIG_MLX4_CORE) += mlx4/ +obj-$(CONFIG_ENC28J60) += enc28j60.o obj-$(CONFIG_MACB) += macb.o