From 3a0e0aa45be05370364d67b45becb7015888bd69 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 11 Sep 2012 16:50:16 +0000 Subject: [PATCH] Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5128 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 9 +- Documentation/NuttxPortingGuide.html | 2 +- configs/README.txt | 2 +- configs/fire-stm32v2/include/board.h | 8 +- configs/fire-stm32v2/nsh/defconfig | 114 +++++------------------ configs/fire-stm32v2/src/Makefile | 2 +- configs/fire-stm32v2/src/fire-internal.h | 6 +- configs/fire-stm32v2/src/up_autoleds.c | 18 ++-- configs/fire-stm32v2/src/up_enc28j60.c | 31 +++--- configs/fire-stm32v2/src/up_spi.c | 4 +- configs/fire-stm32v2/src/up_userleds.c | 12 ++- configs/olimex-strp711/nettest/defconfig | 4 +- configs/olimex-strp711/src/Makefile | 6 +- configs/olimex-strp711/src/up_enc28j60.c | 12 +-- configs/olimex-strp711/src/up_spi.c | 8 +- drivers/Kconfig | 82 ++++------------ drivers/net/Make.defs | 6 +- drivers/net/enc28j60.c | 24 ++--- include/nuttx/net/enc28j60.h | 8 +- 19 files changed, 135 insertions(+), 223 deletions(-) diff --git a/ChangeLog b/ChangeLog index f56e14c048..b49394ba27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3315,4 +3315,11 @@ require DMA-capable memory. If CONFIG_FAT_DMAMEMORY is defined, then the FAT FS will use platform-provided DMA memory allocators to allocate the block driver I/O buffers. - + * CONFIG_NET_ENC28J60 renamed CONFIG_ENC28J60 to be consistent + in all places. + * drivers/enc28j60.c, include/nuttx/net/enc28j60.h, and + olimex-strp711/src/up_enc28j60.c: No longer passes IRQ number + as a parameters. Instead now passes a call table to manage + ENC28J60 GPIO interrupts. That is because GPIO interrupts are + handled in different ways by different MCUs and some do not + support IRQ numbers for GPIO interrupts. diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 875b78e619..0e169d60d5 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -4963,7 +4963,7 @@ build

ENC28J60 Ethernet Driver Configuration Settings