diff options
Diffstat (limited to 'nuttx/arch/arm/src/sam34/sam_emac.c')
-rw-r--r-- | nuttx/arch/arm/src/sam34/sam_emac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/sam34/sam_emac.c b/nuttx/arch/arm/src/sam34/sam_emac.c index 20be02abc..64b3ad6af 100644 --- a/nuttx/arch/arm/src/sam34/sam_emac.c +++ b/nuttx/arch/arm/src/sam34/sam_emac.c @@ -345,7 +345,7 @@ static void sam_buffer_free(struct sam_emac_s *priv); /* Common TX logic */ static int sam_transmit(struct sam_emac_s *priv); -static int sam_uiptxpoll(struct net_driver_s *dev); +static int sam_txpoll(struct net_driver_s *dev); static void sam_dopoll(struct sam_emac_s *priv); /* Interrupt handling */ @@ -785,7 +785,7 @@ static int sam_transmit(struct sam_emac_s *priv) } /**************************************************************************** - * Function: sam_uiptxpoll + * Function: sam_txpoll * * Description: * The transmitter is available, check if uIP has any outgoing packets ready @@ -808,7 +808,7 @@ static int sam_transmit(struct sam_emac_s *priv) * ****************************************************************************/ -static int sam_uiptxpoll(struct net_driver_s *dev) +static int sam_txpoll(struct net_driver_s *dev) { struct sam_emac_s *priv = (struct sam_emac_s *)dev->d_private; @@ -873,7 +873,7 @@ static void sam_dopoll(struct sam_emac_s *priv) { /* If we have the descriptor, then poll uIP for new XMIT data. */ - (void)devif_poll(dev, sam_uiptxpoll); + (void)devif_poll(dev, sam_txpoll); } } @@ -1517,7 +1517,7 @@ static void sam_polltimer(int argc, uint32_t arg, ...) { /* Update TCP timing states and poll uIP for new XMIT data. */ - (void)devif_timer(dev, sam_uiptxpoll, SAM_POLLHSEC); + (void)devif_timer(dev, sam_txpoll, SAM_POLLHSEC); } /* Setup the watchdog poll timer again */ |