OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge tag 'jfs-4.15' of git://github.com/kleikamp/linux-shaggy
[uclinux-h8/linux.git]
/
tools
/
pci
/
pcitest.sh
1
#!/bin/sh
2
# SPDX-License-Identifier: GPL-2.0
3
4
echo "BAR tests"
5
echo
6
7
bar=0
8
9
while [ $bar -lt 6 ]
10
do
11
pcitest -b $bar
12
bar=`expr $bar + 1`
13
done
14
echo
15
16
echo "Interrupt tests"
17
echo
18
19
pcitest -l
20
msi=1
21
22
while [ $msi -lt 33 ]
23
do
24
pcitest -m $msi
25
msi=`expr $msi + 1`
26
done
27
echo
28
29
echo "Read Tests"
30
echo
31
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
38
39
echo "Write Tests"
40
echo
41
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
48
49
echo "Copy Tests"
50
echo
51
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