From db61db7587ffd47feea6ec6e70fdb2a83d966faf Mon Sep 17 00:00:00 2001
From: patacongo Last Updated: March 15, 2011 Last Updated: March 16, 2011 Last Updated: March 12, 2011 Last Updated: March 16, 2011
+ The NuttX SLIP driver supports point-to-point IP communications over a serial port.
+ The default data link layer for uIP is Ethernet.
+ If
@@ -2200,6 +2200,8 @@ nuttx-5.20 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
* drivers/net/slip.c -- SLIP is now basically functional on the
LPC17xx with some caveats as described in the TODO list under
LPC17xx.
+ * arch/x86/include/i486/irq.h -- Fix irqrestore() macro... it was not
+ correctly re-enabling interrupts.
apps-5.20 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html
index c9d7f6bd268..d7f65090f29 100644
--- a/Documentation/NuttxPortingGuide.html
+++ b/Documentation/NuttxPortingGuide.html
@@ -12,7 +12,7 @@
NuttX RTOS
-
NuttX RTOS Porting Guide
- CONFIG_NET_SLIP: Selects the Serial Line Internet Protocol (SLIP) data link layer.
- The default data link layer for uIP is Ethernet.
- If CONFIG_NET_SLIP is defined in the NuttX header file, then SLIP will be supported.
- The basic differences between the SLIP and Ethernet configurations is that when SLIP is selected:
-
-
- If CONFIG_NET_SLIP is not supported, then Ethernet will be used
- (there is no need to define anything special in the configuration file to use Ethernet -- it is the default).
+ (This selection is discussed further below).
+ CONFIG_NET_NOINTS: CONFIG_NET_NOINT indicates that uIP not called from the interrupt level.
+ If CONFIG_NET_NOINTS is defined, critical sections will be managed with semaphores;
+ Otherwise, it assumed that uIP will be called from interrupt level handling and critical sections will be managed by enabling and disabling interrupts.
+ CONFIG_NET_MULTIBUFFER: Traditionally, uIP has used a single buffer for all incoming and outgoing traffic.
+ If this configuration is selected, then the driver can manage multiple I/O buffers and can, for example, be filling one input buffer while sending another output buffer.
+ Or, as another example, the driver may support queuing of concurrent input/ouput and output transfers for better performance.
CONFIG_NET_IPv6: Build in support for IPv6
@@ -3408,6 +3409,43 @@ build
SLIP
+CONFIG_NET_SLIP is defined in the NuttX configuration file, then SLIP will be supported.
+ The basic differences between the SLIP and Ethernet configurations is that when SLIP is selected:
+
+
+ If CONFIG_NET_SLIP is not selected, then Ethernet will be used
+ (there is no need to define anything special in the configuration file to use Ethernet -- it is the default).
+
CONFIG_NET_SLIP: Enables building of the SLIP driver.
+ SLIP requires at least one IP protocols selected and the following additional network settings: CONFIG_NET_NOINTS and CONFIG_NET_MULTIBUFFER.
+ CONFIG_NET_BUFSIZE must be set to 296.
+ Other optional configuration settings that affect the SLIP driver: CONFIG_NET_STATISTICS.
+ Default: Ethernet.
+ + If SLIP is selected, then the following SLIP options are available: +
+CONFIG_CLIP_NINTERFACES: Selects the number of physical SLIP interfaces to support. Default: 1
+ CONFIG_SLIP_STACKSIZE: Select the stack size of the SLIP RX and TX tasks. Default: 2048
+ CONFIG_SLIP_DEFPRIO: The priority of the SLIP RX and TX tasks. Default: 128
+