summaryrefslogtreecommitdiffstats
path: root/tests/ipedma
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-05-05 23:13:45 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-05-05 23:13:45 +0200
commit9ccacea308f336d10c8a94d393b261539a6970bf (patch)
treeb7bb277bdbedcc58f3128993dcc4cadd129b7e56 /tests/ipedma
parentc39ac7a604d9f01f602f88f5770b5832e79fcdde (diff)
downloadpcitool-9ccacea308f336d10c8a94d393b261539a6970bf.tar.gz
pcitool-9ccacea308f336d10c8a94d393b261539a6970bf.tar.bz2
pcitool-9ccacea308f336d10c8a94d393b261539a6970bf.tar.xz
pcitool-9ccacea308f336d10c8a94d393b261539a6970bf.zip
Support gen3 DMA engine and provide work-arround for hardware mishandling last_descriptor_read register
Diffstat (limited to 'tests/ipedma')
-rwxr-xr-xtests/ipedma/test.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/ipedma/test.sh b/tests/ipedma/test.sh
index 62c391a..11a6227 100755
--- a/tests/ipedma/test.sh
+++ b/tests/ipedma/test.sh
@@ -23,11 +23,12 @@ pci -w 0x4 0x1
#done
echo "Reading the data from DMA..."
-for i in `seq 1 100`; do
- pci -r dma0 --multipacket -s $size -o bench.out
+for i in `seq 1 1000`; do
+ pci -r dma0 --multipacket -s $size -o bench.out --timeout 1000000
+# pci -r dma0 --multipacket -s $size -o /dev/null --timeout 10000000
if [ $? -ne 0 ]; then
echo "Stopping DMA due to the error..."
- pci --stop-dma dma0r
+# pci --stop-dma dma0r
exit
fi
done