summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/tiva
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-31 13:45:19 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-31 13:45:19 -0600
commitbe96ea0162a8291526cc1c036201c27b5db335c7 (patch)
treef1ffa1ea347293b48aca7fa3f94717297ad1896b /nuttx/arch/arm/src/tiva
parent2728352bff35883ba799c56091f130793b75db2d (diff)
downloadnuttx-be96ea0162a8291526cc1c036201c27b5db335c7.tar.gz
nuttx-be96ea0162a8291526cc1c036201c27b5db335c7.tar.bz2
nuttx-be96ea0162a8291526cc1c036201c27b5db335c7.zip
Ethernet skeleton: Add some more example logic
Diffstat (limited to 'nuttx/arch/arm/src/tiva')
-rw-r--r--nuttx/arch/arm/src/tiva/tm4c_ethernet.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/nuttx/arch/arm/src/tiva/tm4c_ethernet.c b/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
index f5447215e..ea98b41f6 100644
--- a/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
+++ b/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
@@ -2097,9 +2097,7 @@ static void tiva_txtimeout_expiry(int argc, uint32_t arg, ...)
work_cancel(HPWORK, &priv->work);
- /* Schedule to perform the TX timeout processing on the worker thread.
- * TODO: Assure that no there is not pending interrupt or poll work.
- */
+ /* Schedule to perform the TX timeout processing on the worker thread. */
work_queue(HPWORK, &priv->work, tiva_txtimeout_work, priv, 0);
@@ -2236,9 +2234,7 @@ static void tiva_poll_expiry(int argc, uint32_t arg, ...)
if (work_available(&priv->work))
{
- /* Schedule to perform the interrupt processing on the worker thread.
- * TODO: Make sure that there can be no pending interrupt work.
- */
+ /* Schedule to perform the interrupt processing on the worker thread. */
work_queue(HPWORK, &priv->work, tiva_poll_work, priv, 0);
}