pcitest.sh 668 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/bin/sh
  2. # SPDX-License-Identifier: GPL-2.0
  3. echo "BAR tests"
  4. echo
  5. bar=0
  6. while [ $bar -lt 6 ]
  7. do
  8. pcitest -b $bar
  9. bar=`expr $bar + 1`
  10. done
  11. echo
  12. echo "Interrupt tests"
  13. echo
  14. pcitest -l
  15. msi=1
  16. while [ $msi -lt 33 ]
  17. do
  18. pcitest -m $msi
  19. msi=`expr $msi + 1`
  20. done
  21. echo
  22. echo "Read Tests"
  23. echo
  24. pcitest -r -s 1
  25. pcitest -r -s 1024
  26. pcitest -r -s 1025
  27. pcitest -r -s 1024000
  28. pcitest -r -s 1024001
  29. echo
  30. echo "Write Tests"
  31. echo
  32. pcitest -w -s 1
  33. pcitest -w -s 1024
  34. pcitest -w -s 1025
  35. pcitest -w -s 1024000
  36. pcitest -w -s 1024001
  37. echo
  38. echo "Copy Tests"
  39. echo
  40. pcitest -c -s 1
  41. pcitest -c -s 1024
  42. pcitest -c -s 1025
  43. pcitest -c -s 1024000
  44. pcitest -c -s 1024001
  45. echo