/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to tests/cleanup.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2011-07-17 21:22:21 UTC
  • Revision ID: csa@dside.dyndns.org-20110717212221-v11av0ds2cgsxihy
Provide few scripts to test DMA

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
function pci {
 
4
    PCILIB_PATH="/root/pcitool"
 
5
    LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $*
 
6
}
 
7
 
 
8
pci --start-dma dma1r
 
9
pci -w dma1r_reset_request 1
 
10
pci -w dma1r_reset 1
 
11
pci -r dma1r_running
 
12
 
 
13
pci --clean-kernel-memory dma