blob: 77e8c85ef744459eb528b61b647edf77e5d0adf3 [file] [log] [blame]
Kishon Vijay Abraham I62cb0ef2017-03-27 15:15:17 +05301#!/bin/sh
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01002# SPDX-License-Identifier: GPL-2.0
Kishon Vijay Abraham I62cb0ef2017-03-27 15:15:17 +05303
4echo "BAR tests"
5echo
6
7bar=0
8
9while [ $bar -lt 6 ]
10do
11 pcitest -b $bar
12 bar=`expr $bar + 1`
13done
14echo
15
16echo "Interrupt tests"
17echo
18
19pcitest -l
20msi=1
21
22while [ $msi -lt 33 ]
23do
24 pcitest -m $msi
25 msi=`expr $msi + 1`
26done
27echo
28
29echo "Read Tests"
30echo
31
32pcitest -r -s 1
33pcitest -r -s 1024
34pcitest -r -s 1025
35pcitest -r -s 1024000
36pcitest -r -s 1024001
37echo
38
39echo "Write Tests"
40echo
41
42pcitest -w -s 1
43pcitest -w -s 1024
44pcitest -w -s 1025
45pcitest -w -s 1024000
46pcitest -w -s 1024001
47echo
48
49echo "Copy Tests"
50echo
51
52pcitest -c -s 1
53pcitest -c -s 1024
54pcitest -c -s 1025
55pcitest -c -s 1024000
56pcitest -c -s 1024001
57echo