summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sama5/sam_emaca.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-02 08:54:53 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-02 08:54:53 -0600
commit53011a9b679c5b1bbe6785ef7a4a6723c65ac509 (patch)
treeb42deebefa17702621261403ca2649386cca375d /nuttx/arch/arm/src/sama5/sam_emaca.c
parent7668388eb7fd1960efaa409e3191cc7b7d5cb014 (diff)
downloadpx4-nuttx-53011a9b679c5b1bbe6785ef7a4a6723c65ac509.tar.gz
px4-nuttx-53011a9b679c5b1bbe6785ef7a4a6723c65ac509.tar.bz2
px4-nuttx-53011a9b679c5b1bbe6785ef7a4a6723c65ac509.zip
SAMA54D-EK: Don't disable any features in the NSH configuration. Comments updated in several files
Diffstat (limited to 'nuttx/arch/arm/src/sama5/sam_emaca.c')
-rw-r--r--nuttx/arch/arm/src/sama5/sam_emaca.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_emaca.c b/nuttx/arch/arm/src/sama5/sam_emaca.c
index 3d74cf59d..aeecba527 100644
--- a/nuttx/arch/arm/src/sama5/sam_emaca.c
+++ b/nuttx/arch/arm/src/sama5/sam_emaca.c
@@ -780,8 +780,8 @@ static int sam_transmit(struct sam_emac_s *priv)
/* If we have no more available TX descriptors, then we must disable the
* RCOMP interrupt to stop further RX processing. Why? Because EACH RX
- * packet that is dispatch is also an opportunity to replay with the a TX
- * packet. So, if we cannot handle an RX packet replay, then we disable
+ * packet that is dispatched is also an opportunity to reply with a TX
+ * packet. So, if we cannot handle an RX packet reply, then we disable
* all RX packet processing.
*/
@@ -1132,8 +1132,8 @@ static int sam_recvframe(struct sam_emac_s *priv)
* Function: sam_receive
*
* Description:
- * An interrupt was received indicating the availability of a new RX packet
- * in FIFO memory.
+ * An interrupt was received indicating the availability of one or more
+ * new RX packets in FIFO memory.
*
* Parameters:
* priv - Reference to the driver state structure
@@ -1220,8 +1220,8 @@ static void sam_receive(struct sam_emac_s *priv)
* Function: sam_txdone
*
* Description:
- * An interrupt was received indicating that a frame has completed
- * transmission.
+ * An interrupt was received indicating that one or more frames have
+ * completed transmission.
*
* Parameters:
* priv - Reference to the driver state structure
@@ -1239,8 +1239,8 @@ static void sam_txdone(struct sam_emac_s *priv)
struct emac_txdesc_s *txdesc;
/* Are there any outstanding transmissions? Loop until either (1) all of
- * the TX have been examined, or (2) until we encounter the first
- * descriptor that is still in use by the hardware.
+ * the TX descriptors have been examined, or (2) until we encounter the
+ * first descriptor that is still in use by the hardware.
*/
while (priv->txhead != priv->txtail)