summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-01 18:41:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-01 18:41:08 -0600
commit7668388eb7fd1960efaa409e3191cc7b7d5cb014 (patch)
tree2120b5fb187fca821bd3bce6f2ae6cd8d70d21bc /nuttx/arch/z80
parentf5bff25374fb33e20388571dada417c7e8ed0ea5 (diff)
downloadpx4-nuttx-7668388eb7fd1960efaa409e3191cc7b7d5cb014.tar.gz
px4-nuttx-7668388eb7fd1960efaa409e3191cc7b7d5cb014.tar.bz2
px4-nuttx-7668388eb7fd1960efaa409e3191cc7b7d5cb014.zip
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r--nuttx/arch/z80/src/ez80/ez80_emac.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/z80/src/ez80/ez80_emac.c b/nuttx/arch/z80/src/ez80/ez80_emac.c
index 26c9f4193..ab9e08a1a 100644
--- a/nuttx/arch/z80/src/ez80/ez80_emac.c
+++ b/nuttx/arch/z80/src/ez80/ez80_emac.c
@@ -355,7 +355,7 @@ static void ez80emac_machash(FAR uint8_t *mac, int *ndx, int *bitno)
/* TX/RX logic */
static int ez80emac_transmit(struct ez80emac_driver_s *priv);
-static int ez80emac_uiptxpoll(struct net_driver_s *dev);
+static int ez80emac_txpoll(struct net_driver_s *dev);
static inline FAR struct ez80emac_desc_s *ez80emac_rwp(void);
static inline FAR struct ez80emac_desc_s *ez80emac_rrp(void);
@@ -1044,7 +1044,7 @@ static int ez80emac_transmit(struct ez80emac_driver_s *priv)
}
/****************************************************************************
- * Function: ez80emac_uiptxpoll
+ * Function: ez80emac_txpoll
*
* Description:
* The transmitter is available, check if uIP has any outgoing packets ready
@@ -1064,7 +1064,7 @@ static int ez80emac_transmit(struct ez80emac_driver_s *priv)
*
****************************************************************************/
-static int ez80emac_uiptxpoll(struct net_driver_s *dev)
+static int ez80emac_txpoll(struct net_driver_s *dev)
{
struct ez80emac_driver_s *priv = (struct ez80emac_driver_s *)dev->d_private;
int ret = 0;
@@ -1578,7 +1578,7 @@ static void ez80emac_txtimeout(int argc, uint32_t arg, ...)
/* Then poll uIP for new XMIT data */
- (void)devif_poll(&priv->dev, ez80emac_uiptxpoll);
+ (void)devif_poll(&priv->dev, ez80emac_txpoll);
}
/****************************************************************************
@@ -1604,7 +1604,7 @@ static void ez80emac_polltimer(int argc, uint32_t arg, ...)
/* Poll uIP for new XMIT data */
- (void)devif_timer(&priv->dev, ez80emac_uiptxpoll, EMAC_POLLHSEC);
+ (void)devif_timer(&priv->dev, ez80emac_txpoll, EMAC_POLLHSEC);
/* Setup the watchdog poll timer again */
@@ -1791,7 +1791,7 @@ static int ez80emac_txavail(struct net_driver_s *dev)
/* If so, then poll uIP for new XMIT data */
- (void)devif_poll(&priv->dev, ez80emac_uiptxpoll);
+ (void)devif_poll(&priv->dev, ez80emac_txpoll);
}
irqrestore(flags);