[rtems commit] libchip: Improve handling of DMA suspends
Sebastian Huber
sebh at rtems.org
Thu Apr 17 11:21:09 UTC 2014
Module: rtems
Branch: master
Commit: 18fe64a2ca1ce88205eac842993dba8c46e4030a
Changeset: http://git.rtems.org/rtems/commit/?id=18fe64a2ca1ce88205eac842993dba8c46e4030a
Author: Ralf Kirchner <ralf.kirchner at embedded-brains.de>
Date: Thu Apr 10 17:02:40 2014 +0200
libchip: Improve handling of DMA suspends
Reset the corresponding DMA status bit
---
c/src/libchip/network/dwmac.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/c/src/libchip/network/dwmac.c b/c/src/libchip/network/dwmac.c
index ce2fa17..10f6b75 100644
--- a/c/src/libchip/network/dwmac.c
+++ b/c/src/libchip/network/dwmac.c
@@ -1162,6 +1162,7 @@ static void dwmac_task_rx( void *arg )
idx
);
++counts->dma_suspended;
+ self->dmagrp->status = DMAGRP_STATUS_RU;
}
idx = idx_next;
More information about the vc
mailing list