Back to home page

OSCL-LXR

 
 

    


0001 #!/bin/sh
0002 # SPDX-License-Identifier: GPL-2.0
0003 
0004 echo "BAR tests"
0005 echo
0006 
0007 bar=0
0008 
0009 while [ $bar -lt 6 ]
0010 do
0011         pcitest -b $bar
0012         bar=`expr $bar + 1`
0013 done
0014 echo
0015 
0016 echo "Interrupt tests"
0017 echo
0018 
0019 pcitest -i 0
0020 pcitest -l
0021 
0022 pcitest -i 1
0023 msi=1
0024 
0025 while [ $msi -lt 33 ]
0026 do
0027         pcitest -m $msi
0028         msi=`expr $msi + 1`
0029 done
0030 echo
0031 
0032 pcitest -i 2
0033 msix=1
0034 
0035 while [ $msix -lt 2049 ]
0036 do
0037         pcitest -x $msix
0038         msix=`expr $msix + 1`
0039 done
0040 echo
0041 
0042 echo "Read Tests"
0043 echo
0044 
0045 pcitest -i 1
0046 
0047 pcitest -r -s 1
0048 pcitest -r -s 1024
0049 pcitest -r -s 1025
0050 pcitest -r -s 1024000
0051 pcitest -r -s 1024001
0052 echo
0053 
0054 echo "Write Tests"
0055 echo
0056 
0057 pcitest -w -s 1
0058 pcitest -w -s 1024
0059 pcitest -w -s 1025
0060 pcitest -w -s 1024000
0061 pcitest -w -s 1024001
0062 echo
0063 
0064 echo "Copy Tests"
0065 echo
0066 
0067 pcitest -c -s 1
0068 pcitest -c -s 1024
0069 pcitest -c -s 1025
0070 pcitest -c -s 1024000
0071 pcitest -c -s 1024001
0072 echo