mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SAMA54D-EK: Don't disable any features in the NSH configuration. Comments updated in several files
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user