]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/pci/pcitest.sh
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[karo-tx-linux.git] / tools / pci / pcitest.sh
1 #!/bin/sh
2
3 echo "BAR tests"
4 echo
5
6 bar=0
7
8 while [ $bar -lt 6 ]
9 do
10         pcitest -b $bar
11         bar=`expr $bar + 1`
12 done
13 echo
14
15 echo "Interrupt tests"
16 echo
17
18 pcitest -l
19 msi=1
20
21 while [ $msi -lt 33 ]
22 do
23         pcitest -m $msi
24         msi=`expr $msi + 1`
25 done
26 echo
27
28 echo "Read Tests"
29 echo
30
31 pcitest -r -s 1
32 pcitest -r -s 1024
33 pcitest -r -s 1025
34 pcitest -r -s 1024000
35 pcitest -r -s 1024001
36 echo
37
38 echo "Write Tests"
39 echo
40
41 pcitest -w -s 1
42 pcitest -w -s 1024
43 pcitest -w -s 1025
44 pcitest -w -s 1024000
45 pcitest -w -s 1024001
46 echo
47
48 echo "Copy Tests"
49 echo
50
51 pcitest -c -s 1
52 pcitest -c -s 1024
53 pcitest -c -s 1025
54 pcitest -c -s 1024000
55 pcitest -c -s 1024001
56 echo