summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sama5/sam_gmac.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-30 18:40:41 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-30 18:40:41 -0600
commit8ae1ef74551af33cf18dd1cc4188c4def4fecf42 (patch)
tree42db9eb61e43dd7bd958f080d08cbe6544793d5b /nuttx/arch/arm/src/sama5/sam_gmac.c
parent8299f4051ce03e4c56c08c93a81af0c36e24a2f0 (diff)
downloadpx4-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/arm/src/sama5/sam_gmac.c')
-rw-r--r--nuttx/arch/arm/src/sama5/sam_gmac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_gmac.c b/nuttx/arch/arm/src/sama5/sam_gmac.c
index f50a698a6..8048b6ad9 100644
--- a/nuttx/arch/arm/src/sama5/sam_gmac.c
+++ b/nuttx/arch/arm/src/sama5/sam_gmac.c
@@ -731,7 +731,7 @@ static int sam_transmit(struct sam_gmac_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
@@ -815,7 +815,7 @@ static void sam_dopoll(struct sam_gmac_s *priv)
{
/* If we have the descriptor, then poll uIP for new XMIT data. */
- (void)uip_poll(dev, sam_uiptxpoll);
+ (void)devif_poll(dev, sam_uiptxpoll);
}
}
@@ -1510,7 +1510,7 @@ static void sam_polltimer(int argc, uint32_t arg, ...)
{
/* Update TCP timing states and poll uIP for new XMIT data. */
- (void)uip_timer(dev, sam_uiptxpoll, SAM_POLLHSEC);
+ (void)devif_timer(dev, sam_uiptxpoll, SAM_POLLHSEC);
}
/* Setup the watchdog poll timer again */