diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-30 18:40:41 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-30 18:40:41 -0600 |
commit | 8ae1ef74551af33cf18dd1cc4188c4def4fecf42 (patch) | |
tree | 42db9eb61e43dd7bd958f080d08cbe6544793d5b /nuttx/arch/z80/src | |
parent | 8299f4051ce03e4c56c08c93a81af0c36e24a2f0 (diff) | |
download | px4-nuttx-8ae1ef74551af33cf18dd1cc4188c4def4fecf42.tar.gz px4-nuttx-8ae1ef74551af33cf18dd1cc4188c4def4fecf42.tar.bz2 px4-nuttx-8ae1ef74551af33cf18dd1cc4188c4def4fecf42.zip |
Rename uip_poll->devif_poll and uip_timer->devif_timer
Diffstat (limited to 'nuttx/arch/z80/src')
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_emac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/z80/src/ez80/ez80_emac.c b/nuttx/arch/z80/src/ez80/ez80_emac.c index f67173793..26c9f4193 100644 --- a/nuttx/arch/z80/src/ez80/ez80_emac.c +++ b/nuttx/arch/z80/src/ez80/ez80_emac.c @@ -1048,7 +1048,7 @@ static int ez80emac_transmit(struct ez80emac_driver_s *priv) * * Description: * The transmitter is available, check if uIP has any outgoing packets ready - * to send. This is a callback from uip_poll(). uip_poll() may be called: + * to send. This is a callback from devif_poll(). devif_poll() may be called: * * 1. When the preceding TX packet send is complete, * 2. When the preceding TX packet send timesout and the interface is reset @@ -1578,7 +1578,7 @@ static void ez80emac_txtimeout(int argc, uint32_t arg, ...) /* Then poll uIP for new XMIT data */ - (void)uip_poll(&priv->dev, ez80emac_uiptxpoll); + (void)devif_poll(&priv->dev, ez80emac_uiptxpoll); } /**************************************************************************** @@ -1604,7 +1604,7 @@ static void ez80emac_polltimer(int argc, uint32_t arg, ...) /* Poll uIP for new XMIT data */ - (void)uip_timer(&priv->dev, ez80emac_uiptxpoll, EMAC_POLLHSEC); + (void)devif_timer(&priv->dev, ez80emac_uiptxpoll, 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)uip_poll(&priv->dev, ez80emac_uiptxpoll); + (void)devif_poll(&priv->dev, ez80emac_uiptxpoll); } irqrestore(flags); |