diff --git a/arch/arm/src/sam34/sam_emac.c b/arch/arm/src/sam34/sam_emac.c index 64b3ad6af05..665e6f0948b 100644 --- a/arch/arm/src/sam34/sam_emac.c +++ b/arch/arm/src/sam34/sam_emac.c @@ -770,8 +770,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. */ @@ -1092,8 +1092,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 @@ -1180,8 +1180,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 @@ -1198,9 +1198,9 @@ static void sam_txdone(struct sam_emac_s *priv) { struct emac_txdesc_s *txdesc; - /* Are there any outstanding transmssions? 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. + /* Are there any outstanding transmissions? Loop until either (1) all of + * 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) diff --git a/arch/arm/src/sama5/sam_emaca.c b/arch/arm/src/sama5/sam_emaca.c index 3d74cf59df1..aeecba52789 100644 --- a/arch/arm/src/sama5/sam_emaca.c +++ b/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) diff --git a/arch/arm/src/sama5/sam_emacb.c b/arch/arm/src/sama5/sam_emacb.c index ce2a4f0adcb..f3ea86b3a8b 100644 --- a/arch/arm/src/sama5/sam_emacb.c +++ b/arch/arm/src/sama5/sam_emacb.c @@ -1102,8 +1102,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 replay with a TX + * packet. So, if we cannot handle an RX packet reply, then we disable * all RX packet processing. */ @@ -1454,8 +1454,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 @@ -1542,8 +1542,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 @@ -1561,8 +1561,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) diff --git a/arch/arm/src/sama5/sam_gmac.c b/arch/arm/src/sama5/sam_gmac.c index 2f8c9a3bf72..25c6741d7aa 100644 --- a/arch/arm/src/sama5/sam_gmac.c +++ b/arch/arm/src/sama5/sam_gmac.c @@ -712,8 +712,8 @@ static int sam_transmit(struct sam_gmac_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. */ @@ -1062,8 +1062,8 @@ static int sam_recvframe(struct sam_gmac_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 onr or more + * new RX packets in FIFO memory. * * Parameters: * priv - Reference to the driver state structure @@ -1150,8 +1150,8 @@ static void sam_receive(struct sam_gmac_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 @@ -1168,9 +1168,9 @@ static void sam_txdone(struct sam_gmac_s *priv) { struct gmac_txdesc_s *txdesc; - /* Are there any outstanding transmssions? 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. + /* Are there any outstanding transmissions? Loop until either (1) all of + * 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)