/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to tests/heb/cfg/Set_Delay_chip.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-20 20:01:04 UTC
  • Revision ID: csa@suren.me-20150420200104-b5xny65io8lvoz3w
Big redign of model structures

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
    zero=0
4
 
    hex_val1=$(printf "%02x\n" $1)
5
 
    hex_val2=$(printf "%02x\n" $2)
6
 
    hex_val3=$(printf "%02x\n" $3)
7
 
    hex_val4=$(printf "%02x\n" $4)
8
 
 
9
 
    pci -w 0x9080 $zero$hex_val4$hex_val3$hex_val2$hex_val1
10
 
    pci -r 0x9080 -s 1
11
 
    sleep 0.5