gpio: ath79: Fix potential NULL dereference in ath79_gpio_probe()
[linux-2.6/btrfs-unstable.git] / tools / pci / pcitest.sh
blob77e8c85ef744459eb528b61b647edf77e5d0adf3
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
4 echo "BAR tests"
5 echo
7 bar=0
9 while [ $bar -lt 6 ]
11 pcitest -b $bar
12 bar=`expr $bar + 1`
13 done
14 echo
16 echo "Interrupt tests"
17 echo
19 pcitest -l
20 msi=1
22 while [ $msi -lt 33 ]
24 pcitest -m $msi
25 msi=`expr $msi + 1`
26 done
27 echo
29 echo "Read Tests"
30 echo
32 pcitest -r -s 1
33 pcitest -r -s 1024
34 pcitest -r -s 1025
35 pcitest -r -s 1024000
36 pcitest -r -s 1024001
37 echo
39 echo "Write Tests"
40 echo
42 pcitest -w -s 1
43 pcitest -w -s 1024
44 pcitest -w -s 1025
45 pcitest -w -s 1024000
46 pcitest -w -s 1024001
47 echo
49 echo "Copy Tests"
50 echo
52 pcitest -c -s 1
53 pcitest -c -s 1024
54 pcitest -c -s 1025
55 pcitest -c -s 1024000
56 pcitest -c -s 1024001
57 echo