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/drivers/net/dm90x0.c | |
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/drivers/net/dm90x0.c')
-rw-r--r-- | nuttx/drivers/net/dm90x0.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/drivers/net/dm90x0.c b/nuttx/drivers/net/dm90x0.c index 58e9901bb..6127defa7 100644 --- a/nuttx/drivers/net/dm90x0.c +++ b/nuttx/drivers/net/dm90x0.c @@ -823,7 +823,7 @@ static int dm9x_transmit(struct dm9x_driver_s *dm9x) * * 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 DM90x0 is reset @@ -1086,7 +1086,7 @@ static void dm9x_txdone(struct dm9x_driver_s *dm9x) /* Then poll uIP for new XMIT data */ - (void)uip_poll(&dm9x->dm_dev, dm9x_uiptxpoll); + (void)devif_poll(&dm9x->dm_dev, dm9x_uiptxpoll); } /**************************************************************************** @@ -1249,7 +1249,7 @@ static void dm9x_txtimeout(int argc, uint32_t arg, ...) /* Then poll uIP for new XMIT data */ - (void)uip_poll(&dm9x->dm_dev, dm9x_uiptxpoll); + (void)devif_poll(&dm9x->dm_dev, dm9x_uiptxpoll); } /**************************************************************************** @@ -1291,7 +1291,7 @@ static void dm9x_polltimer(int argc, uint32_t arg, ...) { /* If so, update TCP timing states and poll uIP for new XMIT data */ - (void)uip_timer(&dm9x->dm_dev, dm9x_uiptxpoll, DM6X_POLLHSEC); + (void)devif_timer(&dm9x->dm_dev, dm9x_uiptxpoll, DM6X_POLLHSEC); } /* Setup the watchdog poll timer again */ @@ -1499,7 +1499,7 @@ static int dm9x_txavail(struct net_driver_s *dev) { /* If so, then poll uIP for new XMIT data */ - (void)uip_poll(&dm9x->dm_dev, dm9x_uiptxpoll); + (void)devif_poll(&dm9x->dm_dev, dm9x_uiptxpoll); } } irqrestore(flags); |