summaryrefslogtreecommitdiffstats
path: root/tests/dma/debug/test-iommu.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-20 22:01:04 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-20 22:01:04 +0200
commit77c4d6e67debf0e729734d882df033c4c0f5b0c3 (patch)
tree4a59e86332d6cc78fc5c97110ecba281b0f67bc9 /tests/dma/debug/test-iommu.sh
parent0002c0cc260a6a8e2b6c53f19ae99a625eca4355 (diff)
downloadpcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.gz
pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.bz2
pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.xz
pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.zip
Big redign of model structures
Diffstat (limited to 'tests/dma/debug/test-iommu.sh')
-rwxr-xr-xtests/dma/debug/test-iommu.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/dma/debug/test-iommu.sh b/tests/dma/debug/test-iommu.sh
deleted file mode 100755
index 74e3ece..0000000
--- a/tests/dma/debug/test-iommu.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /bin/bash
-
-i=1
-while [ 1 ]; do
- pci --start-dma dma1r
- for name in /sys/class/fpga/fpga0/kbuf*; do
- bus_addr=0x`cat $name | grep "bus addr" | cut -d ':' -f 2 | sed -e 's/\s\+//g'`
- if [ $((bus_addr % 4096)) -ne 0 ]; then
-
- echo "Failed at iteration $i, $name"
- echo "----------------------"
- cat $name
- exit
- fi
-
- done
- pci --stop-dma dma1r
- i=$((i + 1))
-done