Blame view

kernel/linux-rt-4.4.41/tools/pci/pcitest.sh 633 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
  #!/bin/sh
  
  echo "BAR tests"
  echo
  
  bar=0
  
  while [ $bar -lt 6 ]
  do
  	pcitest -b $bar
  	bar=`expr $bar + 1`
  done
  echo
  
  echo "Interrupt tests"
  echo
  
  pcitest -l
  msi=1
  
  while [ $msi -lt 33 ]
  do
          pcitest -m $msi
          msi=`expr $msi + 1`
  done
  echo
  
  echo "Read Tests"
  echo
  
  pcitest -r -s 1
  pcitest -r -s 1024
  pcitest -r -s 1025
  pcitest -r -s 1024000
  pcitest -r -s 1024001
  echo
  
  echo "Write Tests"
  echo
  
  pcitest -w -s 1
  pcitest -w -s 1024
  pcitest -w -s 1025
  pcitest -w -s 1024000
  pcitest -w -s 1024001
  echo
  
  echo "Copy Tests"
  echo
  
  pcitest -c -s 1
  pcitest -c -s 1024
  pcitest -c -s 1025
  pcitest -c -s 1024000
  pcitest -c -s 1024001
  echo